Browse Source

update Web/src/views/system/print/component/hiprint/preview.vue.
解决打印下载pdf无数据的问题

Signed-off-by: Mr先生 <362270511@qq.com>

Mr先生 1 year ago
parent
commit
19848d669d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Web/src/views/system/print/component/hiprint/preview.vue

+ 1 - 1
Web/src/views/system/print/component/hiprint/preview.vue

@@ -89,7 +89,7 @@ const print = () => {
 };
 
 const toPdf = () => {
-	state.hiprintTemplate.toPdf({}, 'PDF文件');
+	state.hiprintTemplate.toPdf(state.printData, 'PDF文件');
 };
 
 const hideDialog = () => {