3.0没有Event.EventCustom,怎么弄

3.0创建自定义事件new Event.EventCustom(“xxx”, true),报错TypeError: Event.EventCustom is not a constructor,是接口改了吗,文档里面也还是这样用的

1赞

估计是没了,可以试试直接new Event(‘xxxxx’)