摘要: class Event { constructor() { //保存事件列表 this.eventList = []; } on(key,fn){ if ( !this.eventList[ key ] ){ this.eventList[ key ] = []; } ... 阅读全文
posted @ 2017-09-20 17:31 longorYang 阅读(352) 评论(0) 推荐(0) 编辑