This commit is contained in:
2024-07-03 15:37:57 +08:00
parent 984bf85328
commit 1c20c59fda

View File

@@ -421,7 +421,7 @@ export default {
console.log("data at line 370:", data); console.log("data at line 370:", data);
if (data.id != this.currentVideo.id) { if (data.id != this.currentVideo.id) {
// handleEnd // handleEnd
this.$refs.commonVideo.setVideoTime(); this.$refs.commonVideo.handleEnd();
setTimeout(() => { setTimeout(() => {
this.currentVideo = data; this.currentVideo = data;
@@ -527,10 +527,7 @@ export default {
.then(async (res) => { .then(async (res) => {
that.curriculumData = res.data.detail; that.curriculumData = res.data.detail;
that.videoArray = res.data.videos; that.videoArray = res.data.videos;
console.log( console.log("that.videoArray at line 这是关联的视频519:", res);
"that.videoArray at line 这是关联的视频519:",
res.data.current
);
var isHaveHistorySeekVideo = that.videoArray.findIndex( var isHaveHistorySeekVideo = that.videoArray.findIndex(
(e) => e.id == res.data.current (e) => e.id == res.data.current
); );
@@ -977,6 +974,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/style/mixin.scss"; @import "@/style/mixin.scss";
.u-grid-list { .u-grid-list {
// height: 40rpx; // height: 40rpx;
} }