Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -43,8 +43,8 @@ |
43 | 43 | }); |
44 | 44 | const selectOptions: any = ref([]); |
45 | 45 | //获取对应设备属性 |
46 | - const getAttr = async (orgId, deviceId) => { | |
47 | - const res = await getAttribute(orgId, deviceId); | |
46 | + const getAttr = async (orgId, _) => { | |
47 | + const res = await getAttribute(orgId); | |
48 | 48 | if (Array.isArray(res)) { |
49 | 49 | selectOptions.value = res.map((o) => { |
50 | 50 | let obj: any = {}; | ... | ... |