From 6aac0dd9c6d6bd3de148f3d6e123f9c91b1aab4b Mon Sep 17 00:00:00 2001
From: user1 <10901603+no-distractions1@user.noreply.gitee.com>
Date: 星期二, 02 七月 2024 09:31:04 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 src/books/mathBook/view/components/index.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/books/mathBook/view/components/index.vue b/src/books/mathBook/view/components/index.vue
index bd0e2e3..65ba975 100644
--- a/src/books/mathBook/view/components/index.vue
+++ b/src/books/mathBook/view/components/index.vue
@@ -163,7 +163,7 @@
 
     // 娴嬭瘯椤甸潰璺宠浆
     // setTimeout(() => {
-    //   this.gotoPage(2, 10);
+    //   this.gotoPage(1, 9);
     //   setTimeout(() => {
     //     this.renderSign("Highlight", {
     //       id: "2ACA9359",
@@ -870,12 +870,11 @@
             if(item.type && item.type == 'material') {
               if(!item.infoList.length) return false
               item.infoList.forEach(citem => {
-                if(citem.answer) citem.answer.replace(/\<math/gi, '<math class="examination-math"')
+                if(citem.answer) citem.answer = citem.answer.replace(/\<math/gi, '<math class="examination-math"')
               })
             } else {
-              if(item.answer) item.answer.replace(/\<math/gi, '<math class="examination-math"')
+              if(item.answer) item.answer = item.answer.replace(/\<math/gi, '<math class="examination-math"')
             }
-            console.log('棰樼洰',item);
               item.isCollect = this.collectId.indexOf(item.id) > -1 ? true :false
             if (this.questionId[num][page].indexOf(item.id) > -1) {
               if (item.type && item.type == "material") {

--
Gitblit v1.9.1