EventBus 类
前言
EventBus 类
export class EventBus { constructor() { this.msgList = {} } emit() {} on() {} off() {} once() {} }
export const CompA = () => { return compA }
export const CompB = () => { return compB }
export const EventBusComp = () => { return ( <> </> ) }