From 530f8bc6a8438a95ad6582f85362da87b911dcf8 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 23 五月 2024 15:24:05 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/lifeCare/view/chapter002.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/books/lifeCare/view/chapter002.vue b/src/books/lifeCare/view/chapter002.vue
index 3100c90..496c05d 100644
--- a/src/books/lifeCare/view/chapter002.vue
+++ b/src/books/lifeCare/view/chapter002.vue
@@ -1287,10 +1287,10 @@
   </div>
 </template>
 <script>
-// import getResourcePath from "@/assets/methods/resources.js";
-// import getQuestionData from "@/assets/methods/examination.js";
+import getResourcePath from "@/assets/methods/resources.js";
+import getQuestionData from "@/assets/methods/examination.js";
 import testData from "../js/examinationList.js";
-// import examinations from "@/components/examinations/index.vue";
+import examinations from "@/components/examinations/index.vue";
 
 export default {
   name: "chapter002",
@@ -1531,9 +1531,9 @@
     };
   },
   components: {
-    examinations, 
+    examinations,
   },
-  created() {
+  async created() {
     const localData = JSON.parse(localStorage.getItem("chapter002"));
     if (localData) {
       this.chapter002 = { ...Object.assign(this.chapter002, localData) };
@@ -1544,7 +1544,7 @@
       "https:/jsek.bnuic.com/file/api/ApiDownload?md5=b727b78f8036a38cbd054816a81da7f8";
     this.chapter002.videOneUrl =
       "https:/jsek.bnuic.com/file/api/ApiDownload?md5=6e471afdbeb95a8891f1551cbb0cd4fd";
-      this.chapter002.qustionData = await getQuestionData("2",testData[2]);
+    this.chapter002.qustionData = await getQuestionData("2",testData[2],this.config.activeBook);
   },
   methods: {
     activityOne() {

--
Gitblit v1.9.1