@@ -184,9 +184,10 @@ export const newHdPrint = function (printerType, type, url, params, fileName, ca
params.type = printerType
}
// 阵式预览和喷墨预览一样
- // if (type == 'preview' && printerType == 'NEEDLE') {
- // params.type = 'INK'
- // }
+ if (type == 'preview' && printerType == 'NEEDLE') {
+ params.type = 'INK'
+ printerType = 'INK'
+ }
url(params).then(res => {
if (res.type == 'application/json') {
var reader = new FileReader()