zhangxiaomu 1 жил өмнө
parent
commit
92cacb5fdc

+ 1 - 1
src/view/wx-print/index.vue

@@ -140,7 +140,7 @@ export default {
 
           //is_download用于处理ios不兼容情况
           if(this.$route.query.is_download==='true'){
-            hiprintTemplate.toPdf(this.printData, '打印预览pdf');
+            hiprintTemplate.toPdf(printData, '打印预览pdf');
           }else{
             //Blob
             hiprintTemplate.toPdf(printData,'单据打印',{isDownload:false,type:''}).then(blob=>{