fix: 修复蓝牙连接误报与 WiFi 列表获取问题,完善一键添加本人

- connectedDevice 忽略 connect 过程中的 UNAVAILABLE 抖动,避免误报蓝牙关闭
- getWifiList 加 settled 保护,onStartSearch 加防重入
- userManagement 一键添加本人(仅加后台、不下发设备)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-08-27 14:02:21 +08:00
co-authored by Claude Opus 4.7
parent b4d3a034ba
commit dbb2ab8423
5 changed files with 56 additions and 16 deletions
+1
View File
@@ -58,6 +58,7 @@ Page({
onLoad(options: Record<string, string>) {
targetSn = decodeURIComponent(options.sn || '')
console.log(targetSn);
editId = decodeURIComponent(options.id || '')
this.setData({ isEdit: !!editId })
if (editId) {