xgwangman 4 years ago
parent
commit
bb843fba97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jydocs-pc/src/views/Content.vue

+ 1 - 1
jydocs-pc/src/views/Content.vue

@@ -162,7 +162,7 @@ export default {
           scale: this.config.SCALE,
           scale: this.config.SCALE,
           defaultViewport: pdfPage.getViewport({scale: this.config.SCALE}),
           defaultViewport: pdfPage.getViewport({scale: this.config.SCALE}),
           eventBus: new pdfjsViewer.EventBus(),
           eventBus: new pdfjsViewer.EventBus(),
-          annotationLayerFactory: new pdfjsViewer.DefaultAnnotationLayerFactory(),
+          annotationLayerFactory: new pdfjsViewer.DefaultAnnotationLayerFactory()
         })
         })
         pdfPageView.setPdfPage(pdfPage);
         pdfPageView.setPdfPage(pdfPage);
         this.pData.heightList.push(pdfPageView.viewport.height)
         this.pData.heightList.push(pdfPageView.viewport.height)