Browse Source

feat: 页码先加载3页处理

332777428@qq.com 4 tháng trước cách đây
mục cha
commit
a36c44f7f4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
     },
 
     ///截取文件