diff --git a/pages/print/bluetoothPrinter.vue b/pages/print/bluetoothPrinter.vue
index 0d25868..cc323d7 100644
--- a/pages/print/bluetoothPrinter.vue
+++ b/pages/print/bluetoothPrinter.vue
@@ -91,10 +91,12 @@
+
+
+
-
@@ -196,6 +198,7 @@ export default {
await this.connect()
if(this.serverList?.length > 0) {
this.curTab = 1
+ this.stopDiscoveryPrinter()
} else {
showToast('该设备无服务,请检查配置或换一个设备连接')
}
@@ -410,7 +413,7 @@ export default {
},
renderPic() {
- let filePath = 'http://oss-emis.tanex56.com/sapp/sdg/hdbg.png' // TODO
+ let filePath = 'http://image-c.weimobwmc.com/ol-6NoQb/c2a90db027fa4cd19d2300f21fd8e593.jpg' // TODO
let that = this
return new Promise((resolve, reject)=> {
const cxt = uni.createCanvasContext(that.canvasId, that);
@@ -482,7 +485,7 @@ export default {
}
/*二维码隐藏到窗口外*/
canvas {
- position: absolute;
- top: -999rpx
+ // position: absolute;
+ // top: -999rpx
}
\ No newline at end of file