mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:13:40 +08:00
fix(login): fix the problem of successful login and notify disappearing
This commit is contained in:
@@ -114,7 +114,7 @@ class User extends VuexModule {
|
||||
|
||||
// const name = FULL_PAGE_NOT_FOUND_ROUTE.name;
|
||||
// name && router.removeRoute(name);
|
||||
goHome && router.replace(PageEnum.BASE_HOME);
|
||||
goHome && (await router.replace(PageEnum.BASE_HOME));
|
||||
return userInfo;
|
||||
} catch (error) {
|
||||
return null;
|
||||
|
@@ -99,6 +99,7 @@
|
||||
password: '123456',
|
||||
// verify: undefined,
|
||||
});
|
||||
|
||||
const formState = reactive({
|
||||
loading: false,
|
||||
});
|
||||
|
Reference in New Issue
Block a user