Skip to content

Commit

Permalink
fix: 修复了Group组件消息发布失败
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsGoo committed Dec 1, 2024
1 parent 6b87c35 commit 2d6c539
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/designer/src/components/Group/Group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 2d6c539

Please sign in to comment.