From 4db90c67dad8e54d44094efca39ebd2ee7f56ffd Mon Sep 17 00:00:00 2001
From: unknown <qq1940665526@163.com>
Date: 星期二, 04 六月 2024 15:17:39 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/childHealth/view/content/components/chapter005.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/books/childHealth/view/content/components/chapter005.vue b/src/books/childHealth/view/content/components/chapter005.vue
index 24661dc..1b8da2b 100644
--- a/src/books/childHealth/view/content/components/chapter005.vue
+++ b/src/books/childHealth/view/content/components/chapter005.vue
@@ -1214,6 +1214,7 @@
           <p class="blockh6-c">
             <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚涓�</span>
             <examinations
+            v-if="questionData && questionData[127]"
               :cardList="questionData[127]"
               :chapter="5"
               :page="119"
@@ -1660,6 +1661,7 @@
           <p class="blockh6-c">
             <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚浜�</span>
             <examinations
+            v-if="questionData && questionData[132]"
               :cardList="questionData[132]"
               :chapter="5"
               :page="124"
@@ -2122,6 +2124,7 @@
           <p class="blockh6-c">
             <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚涓�</span>
             <examinations
+            v-if="questionData && questionData[137]"
               :cardList="questionData[137]"
               :chapter="5"
               :page="129"
@@ -2510,6 +2513,7 @@
           <p class="blockh6-c">
             <span class="img center dl-bl w100">涓撻浜� 瀛︿範涓婚鍥�</span>
             <examinations
+            v-if="questionData && questionData[141]"
               :cardList="questionData[141]"
               :chapter="5"
               :page="133"
@@ -2697,6 +2701,7 @@
             瀛︿範瀹屾湰涓撻锛屼綘鐨勫涔犳晥鏋滃浣曞憿锛熷挶浠竴璧锋潵鎵爜娴嬩竴娴嬪惂锛�<br />
             <span class="img">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級1</span><br />
             <examinations
+                v-if="questionData && questionData[142][1]"
               :cardList="questionData[142][1]"
               :chapter="5"
               :page="1341"
@@ -2704,6 +2709,7 @@
             <span class="span-border"></span>
             <span class="img mt-20 dl-bl">杩囧叧妫�娴嬶紙璧勬牸鑰冭瘯妯℃嫙棰橈級2</span>
             <examinations
+            v-if="questionData && questionData[142][2]"
               :cardList="questionData[142][2]"
               :chapter="5"
               :page="1342"
@@ -2717,7 +2723,7 @@
 
 <script>
 import examinations from "@/components/examinations/index.vue";
-import getResourcePath from "@/assets/methods/resources";
+import {getResourcePath} from "@/assets/methods/resources";
 export default {
   name: "chapterFive",
   components: { examinations },
@@ -2869,13 +2875,13 @@
         JSON.stringify(this.chapterFiveData)
       );
     },
-    getVideoPath() {
-      this.$data.pathOne = getResourcePath("5698398be3f5c7fdb247218b2a687257");
-      this.$data.pathTwo = getResourcePath("5905673b09837c74953dd11fcb27d123");
-      this.$data.pathThree = getResourcePath(
+    async getVideoPath() {
+      this.$data.pathOne = await getResourcePath("5698398be3f5c7fdb247218b2a687257");
+      this.$data.pathTwo = await getResourcePath("5905673b09837c74953dd11fcb27d123");
+      this.$data.pathThree = await getResourcePath(
         "1f768157227c193ed5c11f972f66e692"
       );
-      this.$data.pathFour = getResourcePath("4f446d88ec1ed081a172b7130dce896b");
+      this.$data.pathFour = await getResourcePath("4f446d88ec1ed081a172b7130dce896b");
     },
   },
 };

--
Gitblit v1.9.1