声明类class EventBus(){ constructor(){ //定义事件总线对象 this.eventList={}; } //监听,或者说是发布 $on(event,fn){ let eventList=this.
確定! 回上一頁