Преглед на файлове

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

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

Mr先生 преди 1 година
родител
ревизия
19848d669d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 = () => {
 const toPdf = () => {
-	state.hiprintTemplate.toPdf({}, 'PDF文件');
+	state.hiprintTemplate.toPdf(state.printData, 'PDF文件');
 };
 };
 
 
 const hideDialog = () => {
 const hideDialog = () => {