DESKTOP-2IO5MST\huting 1 year ago
parent
commit
c35507cd4c
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      pages/bluetooth/bluetooth.vue

+ 3
- 0
pages/bluetooth/bluetooth.vue View File

@@ -28,6 +28,7 @@
import { ref, reactive } from "vue";
import { onLoad, onReady } from "@dcloudio/uni-app";
import { fileURL } from "@/datas/fileURL.js";

const imgURL = `${fileURL}image/`;
const selectedUrl = "common/selected.png`";
@@ -431,9 +432,11 @@
jtApi.connectDevice(
device,
function (res) {
console.log('设备链接1', res)
connectSuccess(res);
},
function (res) {
console.log('设备链接2', res)
listenStatus(res);
}
);

Loading…
Cancel
Save