Showing
1 changed file
with
2 additions
and
2 deletions
@@ -43,8 +43,8 @@ | @@ -43,8 +43,8 @@ | ||
43 | }); | 43 | }); |
44 | const selectOptions: any = ref([]); | 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 | if (Array.isArray(res)) { | 48 | if (Array.isArray(res)) { |
49 | selectOptions.value = res.map((o) => { | 49 | selectOptions.value = res.map((o) => { |
50 | let obj: any = {}; | 50 | let obj: any = {}; |