mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 22:36:23 +00:00
fix: 修复资产列表-添加资产到节点后资产树无法刷新问题
This commit is contained in:
@@ -114,9 +114,11 @@ export default {
|
||||
methods: {
|
||||
handleConfirm() {
|
||||
this.$emit('confirm', this.rowSelected, this.rowsAdd)
|
||||
this.$eventBus.$emit('treeComponentKey')
|
||||
},
|
||||
handleCancel() {
|
||||
this.$emit('cancel')
|
||||
this.$eventBus.$emit('treeComponentKey')
|
||||
},
|
||||
addRowToSelect(row) {
|
||||
const selectValueIndex = this.rowSelected.indexOf(row.id)
|
||||
|
@@ -97,6 +97,9 @@ export default {
|
||||
},
|
||||
async mounted() {
|
||||
this.iActiveMenu = await this.getPropActiveTab()
|
||||
this.$eventBus.$on('treeComponentKey', () => {
|
||||
this.componentKey += 1
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
hideRMenu() {
|
||||
|
Reference in New Issue
Block a user