fix(web): userinfo

This commit is contained in:
zhaoying
2026-04-16 10:28:26 +08:00
parent e0d7a5a91f
commit b6aca0b1e7

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing * @Author: ZhaoYing
* @Date: 2026-02-02 15:07:49 * @Date: 2026-02-02 15:07:49
* @Last Modified by: ZhaoYing * @Last Modified by: ZhaoYing
* @Last Modified time: 2026-04-07 12:18:58 * @Last Modified time: 2026-04-16 10:28:18
*/ */
/** /**
* AppHeader Component * AppHeader Component
@@ -31,7 +31,7 @@ const { Header } = Layout;
/** /**
* @param source - Breadcrumb source type ('space' or 'manage'), defaults to 'manage' * @param source - Breadcrumb source type ('space' or 'manage'), defaults to 'manage'
*/ */
const AppHeader: FC<{source?: 'space' | 'manage';}> = ({source = 'manage'}) => { const AppHeader: FC<{ source?: 'space' | 'manage'; }> = ({ source = 'manage' }) => {
const { t } = useTranslation(); const { t } = useTranslation();
const location = useLocation(); const location = useLocation();
const settingModalRef = useRef<SettingModalRef>(null) const settingModalRef = useRef<SettingModalRef>(null)