From fb7740fa5f7a0fd919937c2cb4bec1694800c60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyu=E2=80=9D?= <“winebunny@163.com”> Date: Mon, 15 Jul 2024 17:12:35 +0800 Subject: [PATCH] u --- src/views/commonPage/pvTree.vue | 4 ++-- src/views/commonPage/tree.vue | 4 ++-- src/views/layout/header.vue | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) 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",