From 9be96538187f6eb8c1d657142dd2a87221f7a917 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 6 Feb 2026 20:58:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=87=AA=E6=B5=8B=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.vue | 2 +- src/pages/mine.vue | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index cbedfdf..d5ad17a 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -8,7 +8,7 @@ 资产总览 -
+
diff --git a/src/pages/mine.vue b/src/pages/mine.vue index 81c7bfe..069d593 100644 --- a/src/pages/mine.vue +++ b/src/pages/mine.vue @@ -85,7 +85,7 @@ - + 系统管理 @@ -154,6 +154,12 @@ const name = userStore.name; const userId = computed(() => userStore.userId || ''); const version = config.appInfo.version; +// 判断是否显示系统管理(只有sys和tyb用户可见) +const showSystemManage = computed(() => { + const userName = userStore.name; + return userName === 'sys' || userName === 'tyb'|| userName === 'admin'; +}); + const popup = ref(null); function handleToInfo() { uni.navigateTo({