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
commit bd19953a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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