forked from github/dataease
fix:清空画布时候,选中右侧的表单没有被清除和关闭
This commit is contained in:
parent
b0c37bc2a4
commit
088bc48f95
@ -541,6 +541,8 @@ export default {
|
|||||||
clearCanvas() {
|
clearCanvas() {
|
||||||
this.$store.commit('setComponentData', [])
|
this.$store.commit('setComponentData', [])
|
||||||
this.$store.commit('recordSnapshot', 'clearCanvas')
|
this.$store.commit('recordSnapshot', 'clearCanvas')
|
||||||
|
bus.$emit('change_panel_right_draw', false)
|
||||||
|
this.$store.commit('setCurComponent', { component: null, index: null })
|
||||||
},
|
},
|
||||||
|
|
||||||
handlePreviewChange() {
|
handlePreviewChange() {
|
||||||
|
Loading…
Reference in New Issue
Block a user