fix: use new code center
This commit is contained in:
@@ -71,7 +71,7 @@ export const useLoginStore = create<LoginStore>((set, get) => {
|
||||
if (redirect) {
|
||||
window.location.href = redirect;
|
||||
} else {
|
||||
window.location.href = basename;
|
||||
window.location.href = basename ? basename + '/' : '/';
|
||||
}
|
||||
} else {
|
||||
message.error(res.message || 'Request failed');
|
||||
|
||||
Reference in New Issue
Block a user