From 58a1f8c0fe7c46f21382f6359be02a8e375ece04 Mon Sep 17 00:00:00 2001
From: unknown <qq1940665526@163.com>
Date: 星期三, 05 六月 2024 17:59:48 +0800
Subject: [PATCH] 体育与健康样章

---
 src/books/lifeCare/view/chapter004.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/books/lifeCare/view/chapter004.vue b/src/books/lifeCare/view/chapter004.vue
index ba644a7..b904467 100644
--- a/src/books/lifeCare/view/chapter004.vue
+++ b/src/books/lifeCare/view/chapter004.vue
@@ -1368,6 +1368,10 @@
     questionData: {
       type: Object,
     },
+    isSearch: {
+      type: Boolean,
+      default: false,
+    },
   },
   components: {
     examinations,
@@ -1446,7 +1450,8 @@
     };
   },
   async created() {
-    const localData = JSON.parse(localStorage.getItem("chapter004"));
+    if(!this.isSearch){
+      const localData = JSON.parse(localStorage.getItem("chapter004"));
     if (localData) {
       this.chapter004 = { ...Object.assign(this.chapter004, localData) };
     }
@@ -1459,12 +1464,7 @@
     this.chapter004.videoFourUrl = await getResourcePath(
       "1b04691b60e5b5b207b3a4967c495d29"
     );
-    // this.chapter004.videOneUrl =
-    //   "https://jsek.bnuic.com/file/api/ApiDownload?md5=c276be12bae3b1df0b3ce4aa01b14e1e";
-    // this.chapter004.videoTwoUrl =
-    //   "https://jsek.bnuic.com/file/api/ApiDownload?md5=7eb7fe2e3c13885a96143110ca4f5654";
-    // this.chapter004.videoFourUrl =
-    //   "https://jsek.bnuic.com/file/api/ApiDownload?md5=1b04691b60e5b5b207b3a4967c495d29";
+    }
   },
   methods: {
     activityOne() {

--
Gitblit v1.9.1