|
@@ -36,7 +36,7 @@ let treeDataTabSecond = ref([]);
|
|
|
const getListTree = () => {
|
|
|
QueryIotListTree().then((res) => {
|
|
|
if (res?.data?.code == "200") {
|
|
|
- treeDataTabSecond.value = [res?.data];
|
|
|
+ treeDataTabSecond.value = [res?.data?.data];
|
|
|
}
|
|
|
}).catch(error => {
|
|
|
console.log(error)
|