diff --git a/src/pages/auth/auth.vue b/src/pages/auth/auth.vue index d38776b..cb64b1f 100644 --- a/src/pages/auth/auth.vue +++ b/src/pages/auth/auth.vue @@ -196,6 +196,7 @@ export default { if (that.sec <= 0) { that.canUse = true; that.sec = 0; + clearInterval(that.timeTask); } }, 1000); }, diff --git a/src/pages/member/password.vue b/src/pages/member/password.vue index e1403cc..e903712 100644 --- a/src/pages/member/password.vue +++ b/src/pages/member/password.vue @@ -98,6 +98,7 @@ export default { if (that.sec <= 0) { that.canUse = true; that.sec = 0; + clearInterval(that.timeTask); } }, 1000); },