Browse Source

分享进入pdf的问题

cxmo 1 year ago
parent
commit
ada6cd9710
1 changed files with 3 additions and 0 deletions
  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()
             }
             
         },