Merge pull request #913 from SuanmoSuanyangTechnology/fix/userinfo_zy

fix(web): userinfo
This commit is contained in:
yingzhao
2026-04-16 10:30:23 +08:00
committed by GitHub

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)