master
parent
b5720888d1
commit
fb7740fa5f
|
@ -135,7 +135,7 @@ const loadNode = async (node: any, resolve: any) => {
|
|||
|
||||
resolve(datanames);
|
||||
} else {
|
||||
resolve([{ name: "暂无数据", leaf: true }]);
|
||||
resolve([{ name: "加载数据", leaf: true }]);
|
||||
console.log(res); //需要将上一级的加号去掉
|
||||
}
|
||||
} else if (node.level === 5) {
|
||||
|
@ -165,7 +165,7 @@ const loadNode = async (node: any, resolve: any) => {
|
|||
// },
|
||||
// ]);
|
||||
} else {
|
||||
resolve([{ name: "暂无数据", leaf: true }]);
|
||||
resolve([{ name: "加载数据", leaf: true }]);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ const loadNode = async (node: any, resolve: any) => {
|
|||
}
|
||||
resolve(datanames);
|
||||
} else {
|
||||
resolve([{ name: "暂无数据", leaf: true }]);
|
||||
resolve([{ name: "加载数据", leaf: true }]);
|
||||
}
|
||||
} else if (node.level === 5) {
|
||||
console.log(node.parent, node.level);
|
||||
|
@ -224,7 +224,7 @@ const loadNode = async (node: any, resolve: any) => {
|
|||
// },
|
||||
// ]);
|
||||
} else {
|
||||
resolve([{ name: "暂无数据", leaf: true }]);
|
||||
resolve([{ name: "加载数据", leaf: true }]);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -114,10 +114,10 @@ let menuData = reactive([
|
|||
name: "能量调节专题",
|
||||
path: "/CapacityAdjustmentPage",
|
||||
},
|
||||
{
|
||||
name: "负荷管理",
|
||||
path: "/LoadManagementPage",
|
||||
},
|
||||
// {
|
||||
// name: "负荷管理",
|
||||
// path: "/LoadManagementPage",
|
||||
// },
|
||||
{
|
||||
name: "智能配电站房",
|
||||
path: "/IntelligentStationhouse",
|
||||
|
|
Loading…
Reference in New Issue