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