uu
This commit is contained in:
parent
0e7dcd3d1d
commit
405015882a
@ -82,7 +82,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 给外部调用api,打印自定义图
|
// 给外部调用api,打印自定义图
|
||||||
async callPrint({ paperWidth, imgRes } = {}) {
|
async callPrint({ paperWidth, imgRes } = {}) {
|
||||||
try{
|
|
||||||
this.paperWidth = paperWidth || this.paperWidth
|
this.paperWidth = paperWidth || this.paperWidth
|
||||||
this.imgRes = imgRes
|
this.imgRes = imgRes
|
||||||
let conSta = await this.$refs.curBlueTooth.autoConnect()
|
let conSta = await this.$refs.curBlueTooth.autoConnect()
|
||||||
@ -91,8 +90,6 @@ export default {
|
|||||||
await this.handlePrint()
|
await this.handlePrint()
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
} catch(e){
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user