增加读取门磁、卫浴按钮

This commit is contained in:
2026-01-23 10:14:55 +08:00
parent 8cceee566d
commit 1043e83bd3
9 changed files with 671 additions and 116 deletions

View File

@@ -654,6 +654,7 @@ Page({
// 将已连接设备合并到列表并按过滤规则筛选
const list = [...this.data.deviceList]
devices.forEach(d => {
const name = d.name || d.localName || ''
if (!matchByTab(name)) return
const idx = list.findIndex(x => x.id === d.deviceId)