js 模拟实现EventBus

文章原文: /yalong/p/14294497.html EventBus 几个常用方法如下: on emit off once 这里用Map 存储 EventBus 的数据,Map 的模拟实现 可以看 /
posted @ 2021-01-18 19:07  进军的蜗牛  阅读(1847)  评论(0编辑  收藏  举报