feat(passport): 优化忘记密码页发送验证码体验
- 引入图形验证码弹窗,风格与注册页面保持一致 - 使用 localStorage 记录每个账号发送验证码次数,前三次免图形验证码 - 第四次及以后发送验证码需输入正确图形验证码才能发送 - 失败时自动刷新验证码,关闭弹窗时重置加载状态 - 新增相关国际化文案支持中英文 - 调整登录页邮箱登录相关占位符文案提升用户体验
This commit is contained in:
@@ -37,6 +37,9 @@ export default {
|
||||
confirmRule: 'The two passwords do not match',
|
||||
emailRule: 'Please enter a valid email address',
|
||||
phoneRule: 'Please enter a valid phone number',
|
||||
codeRule: 'Please enter the code'
|
||||
codeRule: 'Please enter the code',
|
||||
captchaTitle: 'Send Code',
|
||||
captchaPlaceholder: 'Please enter the captcha',
|
||||
sendNow: 'Send Now'
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user