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

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