视频第一次播放显示进度条bug修复

This commit is contained in:
禺狨 2023-05-30 18:05:30 +08:00
parent 58440be424
commit 0075a848e3

View File

@ -107,7 +107,7 @@ const CoursePalyPage = () => {
setLastSeeValue(params);
setLastSeeValue(params);
setWatchedSeconds(record.finished_duration);
} else {
} else if (record && record.is_finished === 1) {
setWatchedSeconds(res.data.hour.duration);
}
getVideoUrl(params);