forked from github/dataease
refactor(仪表板): 仪表板清除画布只清理组件数据保留仪表板画布当前样式
This commit is contained in:
parent
6f7dd7dd7a
commit
ab9895f468
@ -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)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user