Replies: 2 comments
-
|
如果需要解耦服务间调用,可以用 this.eventbus, 否则都可以 |
Beta Was this translation helpful? Give feedback.
0 replies
-
也就是用 this.eventbus 是一种比较好的方式,好的懂了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
event 的使用方式
有些地方使用的是 this.eventBus.fire 出来的事件
有些地方是 Emitter 出来的事件发射器,
我想知道这两种不同的使用方式分别什么情况下使用比较好?
Beta Was this translation helpful? Give feedback.
All reactions