feat: 修改
This commit is contained in:
@@ -38,7 +38,9 @@ const App = () => {
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
getUserInfo()
|
||||
if (location.pathname !== '/login' && loginId) {
|
||||
getUserInfo()
|
||||
}
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
|
Reference in New Issue
Block a user