소스 검색

分享进入pdf的问题

cxmo 1 년 전
부모
커밋
ada6cd9710
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      pages-report/previewPDF.vue

+ 3 - 0
pages-report/previewPDF.vue

@@ -37,6 +37,9 @@ export default {
                     this.pdf_id = Number(obj.pdf_id)
                     this.getPDFDetail()
                 }
+            }else{
+                this.pdf_id = Number(options.pdf_id)||0
+                this.getPDFDetail()
             }
             
         },