|
@@ -1280,7 +1280,7 @@ const getIotTree = async () => {
|
|
}
|
|
}
|
|
let ret = await getDevices();
|
|
let ret = await getDevices();
|
|
const type = ret.type;
|
|
const type = ret.type;
|
|
- const list = ret.list;
|
|
|
|
|
|
+ const list = ret.records;
|
|
for (let i = 0; i < list.length; i++) {
|
|
for (let i = 0; i < list.length; i++) {
|
|
const item = list[i];
|
|
const item = list[i];
|
|
item.label = item.name;
|
|
item.label = item.name;
|