提交 b9f3d0c4 authored 作者: junjie's avatar junjie

refactor: tree编辑后右侧界面保持原状态

上级 9d6a066d
...@@ -562,7 +562,7 @@ export default { ...@@ -562,7 +562,7 @@ export default {
// this.chartTree() // this.chartTree()
this.refreshNodeBy(view.sceneId) this.refreshNodeBy(view.sceneId)
// this.$router.push('/chart/home') // this.$router.push('/chart/home')
this.$emit('switchComponent', { name: '' }) // this.$emit('switchComponent', { name: '' })
this.$store.dispatch('chart/setTable', null) this.$store.dispatch('chart/setTable', null)
}) })
} else { } else {
...@@ -610,7 +610,7 @@ export default { ...@@ -610,7 +610,7 @@ export default {
// this.chartTree() // this.chartTree()
this.refreshNodeBy(data.sceneId) this.refreshNodeBy(data.sceneId)
// this.$router.push('/chart/home') // this.$router.push('/chart/home')
// this.$emit('switchComponent', { name: '' }) this.$emit('switchComponent', { name: '' })
this.$store.dispatch('chart/setTable', null) this.$store.dispatch('chart/setTable', null)
}) })
}).catch(() => { }).catch(() => {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论