Explorar o código

分享进入pdf的问题

cxmo hai 1 ano
pai
achega
ada6cd9710
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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()
             }
             
         },