增加读取门磁、卫浴按钮
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user