refactor: 编辑完视图返回时记录一次仪表板镜像

This commit is contained in:
wangjiahao 2022-02-28 18:37:22 +08:00
parent fdf1e9ab60
commit a9b938c1b4

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