diff --git a/src/views/commonPage/pvTree.vue b/src/views/commonPage/pvTree.vue index ef2ac53..bb5b80e 100644 --- a/src/views/commonPage/pvTree.vue +++ b/src/views/commonPage/pvTree.vue @@ -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 }]); } }; diff --git a/src/views/commonPage/tree.vue b/src/views/commonPage/tree.vue index 709dc33..badf375 100644 --- a/src/views/commonPage/tree.vue +++ b/src/views/commonPage/tree.vue @@ -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 }]); } }; diff --git a/src/views/layout/header.vue b/src/views/layout/header.vue index f2cd62d..c700382 100644 --- a/src/views/layout/header.vue +++ b/src/views/layout/header.vue @@ -114,10 +114,10 @@ let menuData = reactive([ name: "能量调节专题", path: "/CapacityAdjustmentPage", }, - { - name: "负荷管理", - path: "/LoadManagementPage", - }, + // { + // name: "负荷管理", + // path: "/LoadManagementPage", + // }, { name: "智能配电站房", path: "/IntelligentStationhouse",