mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: 优化多次批量更新资产修改项显示不全的问题
This commit is contained in:
parent
2cf27f08b9
commit
fd6ab841bf
@ -220,7 +220,7 @@ export default {
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
// 因为elform存在问题,这个来清楚验证
|
||||
const elFormItem = this.$refs.select.elFormItem
|
||||
const elFormItem = this.$refs.select?.elFormItem
|
||||
if (elFormItem && elFormItem.clearValidate) {
|
||||
elFormItem.clearValidate()
|
||||
}
|
||||
|
@ -6,9 +6,11 @@
|
||||
<ListTable ref="ListTable" :header-actions="iHeaderActions" :table-config="iTableConfig" />
|
||||
<PlatformDialog :category="category" :visible.sync="showPlatform" />
|
||||
<AssetBulkUpdateDialog
|
||||
v-if="updateSelectedDialogSetting.visible"
|
||||
:visible.sync="updateSelectedDialogSetting.visible"
|
||||
v-bind="updateSelectedDialogSetting"
|
||||
:category="category"
|
||||
@update="handleAssetBulkUpdate"
|
||||
/>
|
||||
<GatewayDialog
|
||||
:cell="GatewayCell"
|
||||
@ -279,6 +281,11 @@ export default {
|
||||
optionInfo(iNew) {
|
||||
this.$set(this.defaultConfig.columnsMeta.info.formatterArgs, 'info', iNew)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
handleAssetBulkUpdate() {
|
||||
this.$refs.ListTable.reloadTable()
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user