refactor: tree编辑后右侧界面保持原状态
This commit is contained in:
parent
9d6a066d90
commit
b9f3d0c41c
@ -562,7 +562,7 @@ export default {
|
||||
// this.chartTree()
|
||||
this.refreshNodeBy(view.sceneId)
|
||||
// this.$router.push('/chart/home')
|
||||
this.$emit('switchComponent', { name: '' })
|
||||
// this.$emit('switchComponent', { name: '' })
|
||||
this.$store.dispatch('chart/setTable', null)
|
||||
})
|
||||
} else {
|
||||
@ -610,7 +610,7 @@ export default {
|
||||
// this.chartTree()
|
||||
this.refreshNodeBy(data.sceneId)
|
||||
// this.$router.push('/chart/home')
|
||||
// this.$emit('switchComponent', { name: '' })
|
||||
this.$emit('switchComponent', { name: '' })
|
||||
this.$store.dispatch('chart/setTable', null)
|
||||
})
|
||||
}).catch(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user