fix: 修复获取验证码倒计时显示
This commit is contained in:
parent
5bb35a13d6
commit
2f2905efdc
@ -101,7 +101,7 @@
|
||||
captchaBtnNameKey.value = `${t('login.captcha.get')}(${
|
||||
captchaTime.value
|
||||
}s)`;
|
||||
if (captchaTime.value < 0) {
|
||||
if (captchaTime.value <= 0) {
|
||||
window.clearInterval(captchaTimer.value);
|
||||
captchaTime.value = 60;
|
||||
captchaBtnNameKey.value = t('login.captcha.get');
|
||||
|
@ -203,7 +203,7 @@
|
||||
captchaBtnNameKey.value = `${t(
|
||||
'userCenter.securitySettings.updateEmail.form.reSendCaptcha'
|
||||
)}(${captchaTime.value}s)`;
|
||||
if (captchaTime.value < 0) {
|
||||
if (captchaTime.value <= 0) {
|
||||
window.clearInterval(captchaTimer.value);
|
||||
captchaTime.value = 60;
|
||||
captchaBtnNameKey.value = t(
|
||||
|
Loading…
Reference in New Issue
Block a user