摘要: 实现一个eventbus,包括emit,on,off,once方法: var Eventbus = (function () { let onlyBus; // 类型判断 let judgeType = function (param) { return Object.prototype.toStr 阅读全文
posted @ 2021-03-26 17:57 lsboom 阅读(1199) 评论(0) 推荐(0) 编辑