forked from github/dataease
Merge pull request #1849 from dataease/v1.8
refactor: 编辑完视图返回时记录一次仪表板镜像
This commit is contained in:
commit
ffa6f34931
@ -1519,6 +1519,7 @@ export default {
|
||||
this.closeChangeChart()
|
||||
// 从仪表板入口关闭
|
||||
if (this.$route.path.indexOf('panel') > -1) {
|
||||
this.$store.commit('recordSnapshot')
|
||||
bus.$emit('PanelSwitchComponent', { name: 'PanelEdit' })
|
||||
}
|
||||
this.$success(this.$t('commons.save_success'))
|
||||
|
Loading…
Reference in New Issue
Block a user