Skip to content

Commit 94020b8

Browse files
committed
fix(eventbus): expand the arguments of emit
1 parent e94acc1 commit 94020b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/event/eventBus.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ export abstract class GlobalEvent {
1818
* @param args Arguments
1919
*/
2020
public emit(name: string, ...args: any) {
21-
EventBus.emit(name, args);
21+
EventBus.emit(name, ...args);
2222
}
2323
}

0 commit comments

Comments
 (0)