“yu” 2024-07-15 17:12:35 +08:00
parent b5720888d1
commit fb7740fa5f
3 changed files with 8 additions and 8 deletions

View File

@ -135,7 +135,7 @@ const loadNode = async (node: any, resolve: any) => {
resolve(datanames); resolve(datanames);
} else { } else {
resolve([{ name: "暂无数据", leaf: true }]); resolve([{ name: "加载数据", leaf: true }]);
console.log(res); // console.log(res); //
} }
} else if (node.level === 5) { } else if (node.level === 5) {
@ -165,7 +165,7 @@ const loadNode = async (node: any, resolve: any) => {
// }, // },
// ]); // ]);
} else { } else {
resolve([{ name: "暂无数据", leaf: true }]); resolve([{ name: "加载数据", leaf: true }]);
} }
}; };

View File

@ -162,7 +162,7 @@ const loadNode = async (node: any, resolve: any) => {
} }
resolve(datanames); resolve(datanames);
} else { } else {
resolve([{ name: "暂无数据", leaf: true }]); resolve([{ name: "加载数据", leaf: true }]);
} }
} else if (node.level === 5) { } else if (node.level === 5) {
console.log(node.parent, node.level); console.log(node.parent, node.level);
@ -224,7 +224,7 @@ const loadNode = async (node: any, resolve: any) => {
// }, // },
// ]); // ]);
} else { } else {
resolve([{ name: "暂无数据", leaf: true }]); resolve([{ name: "加载数据", leaf: true }]);
} }
}; };

View File

@ -114,10 +114,10 @@ let menuData = reactive([
name: "能量调节专题", name: "能量调节专题",
path: "/CapacityAdjustmentPage", path: "/CapacityAdjustmentPage",
}, },
{ // {
name: "负荷管理", // name: "",
path: "/LoadManagementPage", // path: "/LoadManagementPage",
}, // },
{ {
name: "智能配电站房", name: "智能配电站房",
path: "/IntelligentStationhouse", path: "/IntelligentStationhouse",