Procházet zdrojové kódy

feat: 页码先加载3页处理

332777428@qq.com před 4 měsíci
rodič
revize
a36c44f7f4
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
     },
 
     ///截取文件