소스 검색

feat: 处理特殊情况PDF文件显示黑影的问题

332777428@qq.com 2 달 전
부모
커밋
646b99afc8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pages/explain/index.vue

+ 2 - 2
src/pages/explain/index.vue

@@ -69,7 +69,7 @@ export default {
       currentPage: 1,
       numPages: 0,
       scale: 1,
-      loadedPages: 1,
+      loadedPages: 0,
 
       isLoading: false,
       text: "拼命加载中...",
@@ -140,9 +140,9 @@ export default {
         that.numPages = numPages;
         that.fileUrl = fileUrl;
         // await that.sleep(600);
-        // that.isLoading = false;
         that.loadAll = true;
         that.loadedPages = numPages;
+        // that.isLoading = false;
         // await that.sleep(2000);
         // that.isLoading = false;
       } catch (e) {