user1
2024-07-02 6aac0dd9c6d6bd3de148f3d6e123f9c91b1aab4b
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") {