mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 15:19:25 +00:00
fix: 修复资产列表资产树右击菜单添加/移动资产到节点确认/取消后自动关闭弹窗
This commit is contained in:
committed by
Jiangjie.Bai
parent
520abd783a
commit
6fb9234583
@@ -128,7 +128,7 @@ export default {
|
||||
this.$axios.put(
|
||||
url, { assets: assetsSelected }
|
||||
).then(res => {
|
||||
this.dialogVisible = false
|
||||
this.iVisible = false
|
||||
this.assetsSelected = []
|
||||
$('#tree-refresh').trigger('click')
|
||||
this.$message.success(this.$t('common.updateSuccessMsg'))
|
||||
@@ -137,7 +137,7 @@ export default {
|
||||
})
|
||||
},
|
||||
assetTreeTableDialogHandleCancel() {
|
||||
this.dialogVisible = false
|
||||
this.iVisible = false
|
||||
this.assetsSelected = []
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user