lilei 3 years ago
parent
commit
c011bbe472
1 changed files with 1 additions and 0 deletions
  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') {
   if (type == 'preview') {
     params.type = 'INK'
     params.type = 'INK'
+    params.printType = 'INK'
     printerType = 'INK'
     printerType = 'INK'
   }
   }
   url(params).then(res => {
   url(params).then(res => {