refactor: 首次登录重置密码

This commit is contained in:
caiyuchao
2025-07-21 17:08:51 +08:00
parent 99667bc0e7
commit 1b425df9ad
10 changed files with 312 additions and 2 deletions

View File

@@ -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;