lsc 2 years ago
parent
commit
3614f1d7a5
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;
     },
     pageTotalNum(val) {
-      this.loading.close();
+      if(val){
+        this.loading.close();
+      }
       this.$emit("getPageTotal", val);
     },
   },