From 6c65eb929cc5461d616ab4f02b503877496219a4 Mon Sep 17 00:00:00 2001 From: zhaoxinyu Date: Tue, 2 Jul 2024 11:01:14 +0800 Subject: [PATCH] update from server --- src/main/resources/views/mobile/newHome.html | 6 +++--- .../resources/views/mobile/trainEducation/videoPage.html | 3 ++- src/main/resources/views/platform/trainEdu/video.html | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/resources/views/mobile/newHome.html b/src/main/resources/views/mobile/newHome.html index f7a0bc1..b357bb9 100644 --- a/src/main/resources/views/mobile/newHome.html +++ b/src/main/resources/views/mobile/newHome.html @@ -55,10 +55,10 @@ layout("/mobile/platform.html"){
-
- 解除绑定 + 培训教育
@@ -67,7 +67,7 @@ layout("/mobile/platform.html"){
- 培训教育 + 解除绑定 diff --git a/src/main/resources/views/mobile/trainEducation/videoPage.html b/src/main/resources/views/mobile/trainEducation/videoPage.html index 9679a97..3f78067 100644 --- a/src/main/resources/views/mobile/trainEducation/videoPage.html +++ b/src/main/resources/views/mobile/trainEducation/videoPage.html @@ -309,7 +309,8 @@ layout("/mobile/platform.html"){ endLearn() { const v = this.watchRecordList.find(v => v.videoId === this.currentVideo.id) - if (v.finish) { + console.log(v) + if (v && v.finish) { this.$modal.msg('本视频您已学习完成,无需重复上传') return } diff --git a/src/main/resources/views/platform/trainEdu/video.html b/src/main/resources/views/platform/trainEdu/video.html index 4e64d10..22854c6 100644 --- a/src/main/resources/views/platform/trainEdu/video.html +++ b/src/main/resources/views/platform/trainEdu/video.html @@ -122,7 +122,7 @@ layout("/layouts/platform.html"){