mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
refactor(仪表板): 仪表板清除画布只清理组件数据保留仪表板画布当前样式
This commit is contained in:
@@ -372,7 +372,6 @@ export default {
|
||||
},
|
||||
clearCanvas() {
|
||||
this.$store.commit('setComponentData', [])
|
||||
this.$store.commit('setCanvasStyle', DEFAULT_COMMON_CANVAS_STYLE_STRING)
|
||||
this.$store.commit('recordSnapshot', 'clearCanvas')
|
||||
this.$store.commit('setInEditorStatus', false)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user