mirror of
https://github.com/rustfs/console.git
synced 2026-09-19 01:47:44 +08:00
fix: 修改登录成功后的重定向方式 rustfs/s3-rustfs#400 rustfs/s3-rustfs#419
This commit is contained in:
@@ -31,7 +31,7 @@ const handleLogin = async () => {
|
||||
try {
|
||||
await auth.login(credentials)
|
||||
message.success(t('Login Success'))
|
||||
router.push('/')
|
||||
window.location.href = '/'
|
||||
} catch (error) {
|
||||
message.error(t('Login Failed'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user