提交 a9b938c1 authored 作者: wangjiahao's avatar wangjiahao

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

上级 fdf1e9ab
......@@ -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'))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论