From 2715c0cd96a13dd36297195f4118db4c0e189cbc Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 24 十月 2024 11:36:23 +0800
Subject: [PATCH] 数学修改

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

diff --git a/src/books/mathBook/view/components/index.vue b/src/books/mathBook/view/components/index.vue
index 417892c..db41812 100644
--- a/src/books/mathBook/view/components/index.vue
+++ b/src/books/mathBook/view/components/index.vue
@@ -189,7 +189,7 @@
 
     // 娴嬭瘯椤甸潰璺宠浆
     // setTimeout(() => {
-    //   this.gotoPage(2,10);
+    //   this.gotoPage(3,51);
     //   //   setTimeout(() => {
     //   //     this.renderSign("Highlight", {
     //   //       id: "2ACA9359",
@@ -241,7 +241,6 @@
     // 婊氬姩鐩戝惉
     scrollFun(event) {
       this.handleVideoPicture();
-
       // 鍒ゆ柇鍚戜笂婊氬姩杩樻槸鍚戜笅婊氬姩
       if (event.target.scrollTop > this.previousScrollTop) {
         // 鍚戜笅
@@ -903,7 +902,7 @@
       ];
       if (this.questionId) {
         if (this.questionId[num] && this.questionId[num][page]) {
-          if (num != this.questionDataIndex) {
+          if (num != this.questionDataIndex || !this.questionList.length) {
             // 鍒ゆ柇褰撳墠绔犺妭鐨勯鐩甹son鏄惁宸茬粡璇锋眰杩�
             const res = await axios.get(
               this.config.activeBook.resourceUrl + "/question-" + num + ".json"

--
Gitblit v1.9.1