|
|
@ -354,7 +354,11 @@ export default { |
|
|
|
let _data = {}; |
|
|
|
|
|
|
|
if (res.code != 200) return Message.error(res?.msg); |
|
|
|
const isJuduanId = id.startsWith('juduan'); |
|
|
|
res.data.forEach(e => { |
|
|
|
if (isJuduanId && ['door', 'humi', 'temp','pwr','water','com','devs','devf'].includes(e.property)) { |
|
|
|
return; //判断是否为局端机,如果是去除这些属性值 |
|
|
|
} |
|
|
|
_list.push({ |
|
|
|
label: e.propertyName, |
|
|
|
key: e.propertyName, |
|
|
|