Selaa lähdekoodia

分享进入pdf的问题

cxmo 1 vuosi sitten
vanhempi
commit
ada6cd9710
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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()
             }
             
         },