mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 17:54:32 +08:00
修复登录成功获取用户信息
This commit is contained in:
@@ -101,7 +101,7 @@ export default function (props: any) {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (systemInfo && systemInfo.isInitialized && !user.username) {
|
||||
if (systemInfo && systemInfo.isInitialized) {
|
||||
getUser();
|
||||
}
|
||||
}, [props.location.pathname]);
|
||||
|
||||
Reference in New Issue
Block a user