refactor: 首次登录重置密码
This commit is contained in:
@@ -87,6 +87,11 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
message: $t('authentication.loginSuccess'),
|
||||
});
|
||||
}
|
||||
} else if (type === 'username') {
|
||||
router.push({
|
||||
name: 'ResetPassword',
|
||||
query: { username: params.username },
|
||||
});
|
||||
}
|
||||
} finally {
|
||||
loginLoading.value = false;
|
||||
|
||||
Reference in New Issue
Block a user