diff --git a/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue b/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue index e0b9c0a..e4d7d3d 100644 --- a/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue +++ b/ebike-maintenance/pages/warehouse/bluetooth/bluetoothscan.vue @@ -173,11 +173,11 @@ // const serviceId = '0000FFF0-0000-1000-8000-00805F9B34FB'; // const characteristicId = '0000FFF6-0000-1000-8000-00805F9B34FB'; // 这里的 serviceId 和 characteristicId 需要根据实际设备的蓝牙服务和特征进行替换 - const ids = reactive({ + const ids = { serviceId:'', characteristicId:'',//读取characteristicId writeCharacteristicId:''//写入characteristicId - }) + } const blueTooth = ref({ blueConn:false, @@ -230,7 +230,6 @@ success(res) { if(res.errno == 0){ blueTooth.value.blueConn = true; - blueTooth.value.bikeCode = '250306001002' } else {