提交 ccfbe451 编写于 作者: d-u-a's avatar d-u-a

fix: v3 <video> @timeupdate 回调 detail 值不正确的问题

上级 044b4399
......@@ -178,8 +178,8 @@ export default {
}
})
events.forEach(key => {
video.addEventListener(key, (data = {}) => {
this.$trigger(key, {}, data)
video.addEventListener(key, (e) => {
this.$trigger(key, {}, { ...e.detail })
})
})
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册