闫增涛
2024-05-27 2457d244ddbe2cb35c598e962341f1c9ec6b5d3a
Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout
1个文件已修改
6 ■■■■ 已修改文件
src/books/childHealth/view/content/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/childHealth/view/content/index.vue
@@ -455,8 +455,12 @@
          const target = entry.target;
          const page = target.getAttribute("page");
          if (this.loadPageList.indexOf(page) == -1) {
            this.loadPageList.push(page);
            this.loadPageList.push(Number(page));
            console.log(this.loadPageList,"this.loadPageList");
            if (this.loadPageList.length > 5) {
              // 超过三章隐藏顶部一章
              this.loadPageList.shift();
            }
          }
        }
      });