From 2d6c539d5169e84a47f8a869339e904ee5dc9228 Mon Sep 17 00:00:00 2001 From: Ansgoo Date: Sun, 1 Dec 2024 10:43:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86Group?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=B6=88=E6=81=AF=E5=8F=91=E5=B8=83=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/designer/src/components/Group/Group.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/designer/src/components/Group/Group.vue b/packages/designer/src/components/Group/Group.vue index cc783215..d0d91507 100644 --- a/packages/designer/src/components/Group/Group.vue +++ b/packages/designer/src/components/Group/Group.vue @@ -58,11 +58,11 @@ const dataChange = (resp: any, _?: string) => { const matchReg = new RegExp(channel) keys.forEach((el) => { if (matchReg.test(el)) { - eventBus.on(el, data) + eventBus.emit(el, data) } }) } else { - eventBus.on(channel, data) + eventBus.emit(channel, data) } } }