优化发送短信任务逻辑

This commit is contained in:
TOP糯米 2023-04-01 23:14:37 +08:00
parent 39ecdedb2c
commit 943c8482e5
2 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,7 @@ export default {
if (that.sec <= 0) {
that.canUse = true;
that.sec = 0;
clearInterval(that.timeTask);
}
}, 1000);
},

View File

@ -98,6 +98,7 @@ export default {
if (that.sec <= 0) {
that.canUse = true;
that.sec = 0;
clearInterval(that.timeTask);
}
}, 1000);
},