提交 e5887b95 编写于 作者: 郭胜强

fix: 解决AudioContext事件监听报错的问题

上级 bad9c8e1
......@@ -133,7 +133,7 @@ class InnerAudioContext {
innerAudioContextEventNames.forEach((eventName) => {
InnerAudioContext.prototype[eventName] = function (callback) {
if (typeof callback === 'function') {
this.event[eventName].push(callback)
this._events[eventName].push(callback)
}
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册