From 3548801c77665058c5eb8e055763cf2c3ecc18dd Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 27 十一月 2025 10:18:44 +0800
Subject: [PATCH] feat: 页面
---
src/layout/MainLayout/Layout.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/layout/MainLayout/Layout.vue b/src/layout/MainLayout/Layout.vue
index f34e7b4..9e9c14c 100644
--- a/src/layout/MainLayout/Layout.vue
+++ b/src/layout/MainLayout/Layout.vue
@@ -5,7 +5,7 @@
:title="title"
:visited-views="visitedViews"
:cached-views="cachedViews"
- :username="name"
+ :username="userDetail.enterpriseName"
:themeMap="themeMap"
:logo="Logo"
:showModifyPasswordBtn="false"
@@ -59,7 +59,7 @@
const { isMobile } = storeToRefs(appStore);
const { routes } = storeToRefs(permissionStore);
const { visitedViews, cachedViews } = storeToRefs(tagsViewStore);
-const { name } = storeToRefs(userStore);
+const { userDetail } = storeToRefs(userStore);
const themeMap = ThemeManager.getThemeMap();
--
Gitblit v1.9.1