|
@ -128,7 +128,6 @@ |
|
|
|
|
|
|
|
|
http.post(device.queryDeviceTree, { orgId: orgId.value }).then((res) => { |
|
|
http.post(device.queryDeviceTree, { orgId: orgId.value }).then((res) => { |
|
|
treeData1.value = formatTreeData(res.data); |
|
|
treeData1.value = formatTreeData(res.data); |
|
|
debugger; |
|
|
|
|
|
if (treeData1.value && treeData1.value.length > 0) { |
|
|
if (treeData1.value && treeData1.value.length > 0) { |
|
|
firstKey.value = [treeData1.value[0].value]; |
|
|
firstKey.value = [treeData1.value[0].value]; |
|
|
} |
|
|
} |
|
|