修改密码校验, 重发验证码倒计时

This commit is contained in:
李志鹏
2025-11-14 14:57:16 +08:00
parent aeefc0c80f
commit 0c68ff10e3
5 changed files with 310 additions and 7 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) {
@@ -640,7 +642,7 @@ export default defineComponent({
transition: all .3s;
&.active{
color: #b8b8b8;
background: #f5f5f5;
background: #F9FAFA;
}
&:hover{
border: 0.1rem solid #000;