+
{{ $t('panel.panelNull') }}
@@ -121,6 +121,8 @@ export default {
return this.componentDataShow
},
...mapState([
+ 'isClickComponent',
+ 'curComponent',
'componentData',
'canvasStyleData'
])
@@ -204,6 +206,17 @@ export default {
},
exportExcel() {
this.$refs['userViewDialog'].exportExcel()
+ },
+ deselectCurComponent(e) {
+ debugger
+ if (!this.isClickComponent) {
+ this.$store.commit('setCurComponent', { component: null, index: null })
+ }
+ },
+ handleMouseDown() {
+ // console.log('handleMouseDown123')
+
+ this.$store.commit('setClickComponentStatus', false)
}
}
}