From 9985fd128b46f43d02f8ca6313a1862ea6bf26f5 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 30 七月 2024 17:34:15 +0800 Subject: [PATCH] 五单元完成 --- 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