From f63354e0dfe736503bc02a8c660a367aa38f7594 Mon Sep 17 00:00:00 2001 From: 5g0Wp7Zy Date: Mon, 16 Jun 2025 17:17:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=93=9D=E7=89=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/warehouse/bluetooth/bluetoothscan.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 {