fix: 过滤组件无法弹出编辑

This commit is contained in:
fit2cloud-chenyw 2022-03-23 17:09:23 +08:00
parent af4ef4e896
commit 01fee74fa5

View File

@ -201,7 +201,11 @@ export default {
// } // }
// }, // },
edit() { edit() {
bus.$emit('change_panel_right_draw', true) if (this.curComponent.type === 'custom') {
bus.$emit('component-dialog-edit')
} else if (this.curComponent.type === 'v-text' || this.curComponent.type === 'rect-shape') {
bus.$emit('component-dialog-style')
} else { bus.$emit('change_panel_right_draw', true) }
}, },
linkageEdit() { linkageEdit() {