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