pages/labelPrinter/index.vue
@@ -89,6 +89,7 @@ import { EImage } from "@psdk/esc"; import { string } from 'i/lib/util'; export default { data() { return { @@ -163,13 +164,8 @@ bluetoothTool.discoveryNewDevice(); }, fail: async (e) => { console.error(e) switch (e.code) { case "10009": this.showToast("此设备不支持设备搜索功能!"); break; default: console.error(e); if(e.errCode == 10009) { this.showToast('此设备不支持设备搜索功能!'); } } })