From 01fee74fa54a7571cfb272ab48db5965cbb3097b Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 23 Mar 2022 17:09:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=BC=B9=E5=87=BA=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/components/Editor/EditBar.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/canvas/components/Editor/EditBar.vue b/frontend/src/components/canvas/components/Editor/EditBar.vue index 37c46f8b6e..9c7fd9d56d 100644 --- a/frontend/src/components/canvas/components/Editor/EditBar.vue +++ b/frontend/src/components/canvas/components/Editor/EditBar.vue @@ -201,7 +201,11 @@ export default { // } // }, 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() {