uu
This commit is contained in:
parent
a7da2f56fe
commit
26e5e22e5d
@ -179,7 +179,6 @@ export default {
|
|||||||
_this.devices = []
|
_this.devices = []
|
||||||
_this.searchLoading = true
|
_this.searchLoading = true
|
||||||
bluetoothTool.discoveryNewDevice();
|
bluetoothTool.discoveryNewDevice();
|
||||||
return { res, err }
|
|
||||||
},
|
},
|
||||||
// 停止搜寻附近的蓝牙外围设备
|
// 停止搜寻附近的蓝牙外围设备
|
||||||
async stopDiscoveryPrinter () {
|
async stopDiscoveryPrinter () {
|
||||||
|
|||||||
@ -108,7 +108,7 @@ export default {
|
|||||||
let imgData = await canvasGetImageData({ canvasId: that.canvasId, width: w, height: h, })
|
let imgData = await canvasGetImageData({ canvasId: that.canvasId, width: w, height: h, })
|
||||||
hideLoading()
|
hideLoading()
|
||||||
that.imgData = imgData
|
that.imgData = imgData
|
||||||
resolve(data)
|
resolve()
|
||||||
});
|
});
|
||||||
}catch(e){
|
}catch(e){
|
||||||
hideLoading()
|
hideLoading()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user