Refactor(Tool): Optimize use experience
Remove navigate delay. Clean out old code before setting up compile code.
This commit is contained in:
@@ -94,9 +94,8 @@ const View = () => {
|
||||
return
|
||||
}
|
||||
if (username === '!' && !getLoginStatus()) {
|
||||
setTimeout(() => {
|
||||
navigateToRoot(navigate)
|
||||
}, 3000)
|
||||
void message.error('未登录')
|
||||
navigateToRoot(navigate)
|
||||
return
|
||||
}
|
||||
if (username !== '!' && ver) {
|
||||
|
||||
Reference in New Issue
Block a user