重新发送验证码定时器复位

This commit is contained in:
李志鹏
2025-11-14 14:44:03 +08:00
parent 1d2dcedf9f
commit 5d381326cb
5 changed files with 10 additions and 0 deletions

View File

@@ -422,6 +422,8 @@ export default defineComponent({
},
//创建定时器
createTimer() {
clearInterval(this.timer);
this.time = 60;
this.timer = setInterval(() => {
this.time--;
if (!this.time) {