Browse Source

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table

zengyicheng 2 years ago
parent
commit
ada5bd5e62
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/components/pdf2.vue

+ 3 - 1
src/components/components/pdf2.vue

@@ -71,7 +71,9 @@ export default {
       this.pageNum = val;
       this.pageNum = val;
     },
     },
     pageTotalNum(val) {
     pageTotalNum(val) {
-      this.loading.close();
+      if(val){
+        this.loading.close();
+      }
       this.$emit("getPageTotal", val);
       this.$emit("getPageTotal", val);
     },
     },
   },
   },