This commit is contained in:
aihe 2024-05-10 10:34:39 +08:00
parent 2755a03bd8
commit 28a974fa2a

View File

@ -89,8 +89,8 @@
</view>
</view>
</template>
<canvas canvas-id="shareCanvas" :style="{width:canvas_width+'px', height: canvas_height+'px'}"></canvas>
</tpx-layout>
<canvas canvas-id="shareCanvas" :style="{width:canvas_width+'px', height: canvas_height+'px'}"></canvas>
</tpx-page>
</template>
@ -174,6 +174,7 @@ export default {
},
// 停止搜寻附近的蓝牙外围设备
async stopDiscoveryPrinter () {
let res = await this.renderPic()
uni.stopBluetoothDevicesDiscovery()
},
async handleSelectDeviceId (item) {