浏览代码

feat: 页码先加载3页处理

332777428@qq.com 4 月之前
父节点
当前提交
a36c44f7f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/explain/index.vue

+ 1 - 1
src/pages/explain/index.vue

@@ -101,7 +101,7 @@ export default {
       if (this.numPages == 0) {
         return;
       }
-      this.loadedPages = this.numPages > 1 ? 1 : 1;
+      this.loadedPages = this.numPages > 3 ? 3 : this.numPages;
     },
 
     ///截取文件