lilei hace 3 años
padre
commit
f0cd0d66e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'
   }