lilei 3 年之前
父节点
当前提交
c011bbe472
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/libs/JGPrint.js

+ 1 - 0
src/libs/JGPrint.js

@@ -186,6 +186,7 @@ export const hdPrint = function (printerType, type, url, params, fileName, callb
   // 针式预览和喷墨预览一样
   if (type == 'preview') {
     params.type = 'INK'
+    params.printType = 'INK'
     printerType = 'INK'
   }
   url(params).then(res => {