Skip to content

Commit

Permalink
Merge pull request #150 from AnsGoo/chenghaiwen
Browse files Browse the repository at this point in the history
fix: 修复了Group组件消息发布失败
  • Loading branch information
AnsGoo authored Dec 1, 2024
2 parents 677e85d + 2d6c539 commit 7a3a1a9
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 7a3a1a9

Please sign in to comment.