Merge pull request #462 from dataease/pr@v1.1@refactor_左侧tree暂时优化

refactor: tree编辑后右侧界面保持原状态
This commit is contained in:
XiaJunjie2020
2021-08-02 16:27:14 +08:00
committed by GitHub

View File

@@ -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(() => {