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

+ 1 - 1
src/libs/JGPrint.js

@@ -184,7 +184,7 @@ export const hdPrint = function (printerType, type, url, params, fileName, callb
     params.type = printerType
   }
   // 针式预览和喷墨预览一样
-  if (type == 'preview' && printerType == 'NEEDLE') {
+  if (type == 'preview') {
     params.type = 'INK'
     printerType = 'INK'
   }