Prechádzať zdrojové kódy

feat: 页码先加载3页处理

332777428@qq.com 4 mesiacov pred
rodič
commit
a36c44f7f4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;
     },
 
     ///截取文件