Merge pull request #1849 from dataease/v1.8

refactor: 编辑完视图返回时记录一次仪表板镜像
This commit is contained in:
王嘉豪
2022-02-28 18:49:01 +08:00
committed by GitHub

View File

@@ -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'))