Browse Source

pdf预览功能修改3

zhangyujun 3 years ago
parent
commit
2c0032c998
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/pdf/preview.vue

+ 1 - 1
src/views/pdf/preview.vue

@@ -38,7 +38,7 @@ export default defineComponent({
   setup() {},
   data() {
     return {
-      pdfPagesNum: 0,
+      pdfPagesNum: 1,
       readerpdfDoc: null,
       pdfUrl:""
     };