uu
This commit is contained in:
parent
26e4b368c9
commit
ca2d3aab31
@ -32,7 +32,7 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
prtPercentage: 0, // 打印进度
|
||||
paperWidth: 480,
|
||||
paperWidth: 560,
|
||||
imgRes: {},
|
||||
prtQueList: [],
|
||||
lastExeMark: undefined,
|
||||
@ -58,7 +58,7 @@ export default {
|
||||
return reject('打印参数校验不通过')
|
||||
}
|
||||
let prtInstance = tanexPrinterUniSdk.createInstance()
|
||||
// prtInstance.init(that.imgRes.height)
|
||||
prtInstance.init(that.imgRes.heigh)
|
||||
// prtInstance.diyCode(`PAGE-WIDTH 600\r\n`)
|
||||
prtInstance.addBitmapByEG(0, 0, that.imgRes.imgData)
|
||||
prtInstance.setPagePrint()
|
||||
|
||||
@ -66,7 +66,7 @@ export default {
|
||||
previewModel: { show: false },
|
||||
printModel: { show: false },
|
||||
imageUrl: [],
|
||||
paperWidth: 480,
|
||||
paperWidth: 560,
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user