Browse Source

feat: 页码先加载3页处理

332777428@qq.com 4 months ago
parent
commit
a36c44f7f4
1 changed files with 1 additions and 1 deletions
  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) {
       if (this.numPages == 0) {
         return;
         return;
       }
       }
-      this.loadedPages = this.numPages > 1 ? 1 : 1;
+      this.loadedPages = this.numPages > 3 ? 3 : this.numPages;
     },
     },
 
 
     ///截取文件
     ///截取文件