提交 5eb1e482 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 修复视频进度拖拽不了的问题

上级 0f7cc680
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
return { player: null, videoRetry, currentTime: 0, duration: 0 } return { player: null, videoRetry, currentTime: 0, duration: 0 }
}, },
watch: { watch: {
mpt: { currentTime: {
immediate: true, immediate: true,
handler() { handler() {
const left = (Math.max(this.mpt, this.currentTime) / this.duration) * 100 const left = (Math.max(this.mpt, this.currentTime) / this.duration) * 100
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论