diff --git a/frontend/src/layouts/MainLayout.tsx b/frontend/src/layouts/MainLayout.tsx index 31e6392..8598be3 100644 --- a/frontend/src/layouts/MainLayout.tsx +++ b/frontend/src/layouts/MainLayout.tsx @@ -285,7 +285,7 @@ export default function MainLayout() { }, [currentAncestors]) const dropdownMenuItems = useMemo(() => ([ - { key: 'profile', label: '个人信息' }, + { key: 'profile', label: '个人信息', icon: }, { type: 'divider' as any }, { key: 'logout', label: '退出登录', icon: }, ]), []) @@ -505,8 +505,8 @@ export default function MainLayout() { { const v = key as 'zh'|'en'; setLang(v); localStorage.setItem('lang', v) } }} @@ -514,7 +514,7 @@ export default function MainLayout() { > - {lang === 'zh' ? '中文' : 'English'} + {lang === 'zh' ? 'CN' : 'EN'}