播放视频开始时重置片头片尾输入框数据

This commit is contained in:
buvta
2020-12-08 17:36:33 +08:00
parent d5eb4dc49f
commit 518a9c3492

View File

@@ -505,6 +505,7 @@ export default {
const key = this.video.key + '@' + this.video.info.id
var time = this.video.info.time
this.xg.removeAllProgressDot()
this.startPosition = this.endPosition = { min: '00', sec: '00' }
if (db) {
if (!time && db.index === index) { // 如果video.info.time没有设定的话从历史中读取时间进度
time = db.time