mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-02 03:05:46 +08:00
统一api错误提示
This commit is contained in:
1 parent
0927682abf
commit
1695b8c0fe
7 files changed
+10
-10
No files matched your search
@@ -101,7 +101,7 @@ export default function (props: any) {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (systemInfo && systemInfo.isInitialized && !user) {
|
||||
if (systemInfo && systemInfo.isInitialized && !user.username) {
|
||||
getUser();
|
||||
}
|
||||
}, [props.location.pathname]);
|
||||
|
||||
Reference in new issue
Block a user