闫增涛
2024-10-22 c718c815aef6ecb4175dc8ea7902a4adf0287714
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) {
            // 判断当前章节的题目json是否已经请求过
            const res = await axios.get(
              this.config.activeBook.resourceUrl + "/question-" + num + ".json"