From 7aaa40b46c155198e0c95cf7951ddb0772ff8080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 16 Apr 2026 16:10:30 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8A=E5=86=99=E6=AD=BB=E7=9A=84=E5=B8=B8=E9=87=8F?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/menu/index.vue | 9 ++++++--- src/views/system/oss/config.vue | 8 ++++++-- src/views/system/user/profile/userInfo.vue | 7 +++++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 47957c8..8599a53 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -182,8 +182,9 @@ - - + + {{ dict.label }} + @@ -378,7 +379,9 @@ interface MenuOptionsType { children: MenuOptionsType[] | undefined; } -const { sys_show_hide, sys_normal_disable } = toRefs(useDict('sys_show_hide', 'sys_normal_disable')); +const { sys_show_hide, sys_normal_disable, sys_yes_no } = toRefs( + useDict('sys_show_hide', 'sys_normal_disable', 'sys_yes_no') +); const menuList = ref([]); const menuChildrenListMap = ref({}); diff --git a/src/views/system/oss/config.vue b/src/views/system/oss/config.vue index b90d9c8..60210f8 100644 --- a/src/views/system/oss/config.vue +++ b/src/views/system/oss/config.vue @@ -24,8 +24,12 @@ - - + diff --git a/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue index 31f128e..a692afb 100644 --- a/src/views/system/user/profile/userInfo.vue +++ b/src/views/system/user/profile/userInfo.vue @@ -11,8 +11,9 @@ - - + + {{ dict.label }} + @@ -26,8 +27,10 @@ import { updateUserProfile } from '@/api/system/user'; import modal from '@/plugins/modal'; import tab from '@/plugins/tab'; +import { useDict } from '@/utils/dict'; import { propTypes } from '@/utils/propTypes'; +const { sys_user_gender } = toRefs(useDict('sys_user_gender')); const props = defineProps({ user: propTypes.any.isRequired });