修复直接手动设置调略设置时片头片尾一起变动

This commit is contained in:
buvta
2020-12-30 23:08:46 +08:00
parent e568053b95
commit 3a3e37f4bd

View File

@@ -540,7 +540,8 @@ 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' }
this.startPosition = { min: '00', sec: '00' }
this.endPosition = { min: '00', sec: '00' }
if (db) {
if (!time && db.index === index) { // 如果video.info.time没有设定的话从历史中读取时间进度
time = db.time