From 8113647226209422d377515271cc239e49c614cf Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期二, 22 十月 2024 18:20:50 +0800
Subject: [PATCH] 删除

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

diff --git a/src/books/mathBook/view/components/index.vue b/src/books/mathBook/view/components/index.vue
index 417892c..e57b77c 100644
--- a/src/books/mathBook/view/components/index.vue
+++ b/src/books/mathBook/view/components/index.vue
@@ -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