Explorar el Código

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

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

Mr先生 hace 1 año
padre
commit
19848d669d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 = () => {