feat(仪表板): 仪表板编辑时定时缓存未完成的仪表板,如果异常退出重新进入可以选择是否打开未保存的仪表板

This commit is contained in:
wangjiahao
2022-08-15 17:17:04 +08:00
parent 0ca33a5c79
commit 4b4a12969c
35 changed files with 235 additions and 63 deletions

View File

@@ -444,7 +444,7 @@ export default {
this.styleChange()
},
styleChange() {
this.$store.state.styleChangeTimes++
this.$store.commit('canvasChange')
},
chartResize() {
// this.$refs[this.activeTabName]

View File

@@ -85,7 +85,7 @@ export default {
current && (current.showPicker = true)
},
styleChange() {
this.$store.commit('recordStyleChange')
this.$store.commit('canvasChange')
}
}