llj
2026-01-27 3b759c3c8d9262307b14a10a14ee63fe2d5d4ea9
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('此设备不支持设备搜索功能!');
                  }
               }
            })