mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-02 02:59:33 +08:00
修复根组件刷新异常
This commit is contained in:
1 parent
a90e536403
commit
456b4c4136
5 files changed
+3
-18
No files matched your search
@@ -101,7 +101,7 @@ export default function (props: any) {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (systemInfo && systemInfo.isInitialized) {
|
||||
if (systemInfo && systemInfo.isInitialized && !user) {
|
||||
getUser();
|
||||
}
|
||||
}, [props.location.pathname]);
|
||||
|
||||
Reference in new issue
Block a user