Commit 5ede7902eaae2901564e6dba59ed3d1005f8e03a

Authored by fengtao
1 parent 31440c85

pref:报表配置设备属性接口更换为设备接口里的获取属性

... ... @@ -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 = {};
... ...