视频回放

This commit is contained in:
yanran200730
2022-04-15 16:01:15 +08:00
parent 669b56c5f9
commit 6ee61ae682
4 changed files with 522 additions and 5 deletions

View File

@@ -192,7 +192,7 @@
setTimeout(() => {
this.width = document.querySelector(`#${this.videoId}`).offsetWidth + 'px'
this.$nextTick(() => {
this.$refs.timeline.init()
this.$refs.timeline && this.$refs.timeline.init()
})
}, 60)
},