This commit is contained in:
aihe 2024-06-21 23:23:50 +08:00
parent a7da2f56fe
commit 26e5e22e5d
2 changed files with 1 additions and 2 deletions

View File

@ -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 () {

View File

@ -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()