解决倒计时显示异常

This commit is contained in:
Dragon
2022-12-02 16:06:36 +08:00
parent c88f8f81df
commit 972af47fb1

View File

@@ -152,6 +152,7 @@ function timerFun () {
clearInterval(timer); clearInterval(timer);
$('.box .code .num').text('獲取驗證碼'); $('.box .code .num').text('獲取驗證碼');
isClick = true; isClick = true;
time = 59
} else { } else {
$('.box .code .num').text(`${time}秒後重新獲取`); $('.box .code .num').text(`${time}秒後重新獲取`);
time--; time--;