优化发送短信任务逻辑
This commit is contained in:
parent
39ecdedb2c
commit
943c8482e5
|
@ -171,6 +171,7 @@ export default {
|
||||||
if (that.sec <= 0) {
|
if (that.sec <= 0) {
|
||||||
that.canUse = true;
|
that.canUse = true;
|
||||||
that.sec = 0;
|
that.sec = 0;
|
||||||
|
clearInterval(that.timeTask);
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
|
|
@ -98,6 +98,7 @@ export default {
|
||||||
if (that.sec <= 0) {
|
if (that.sec <= 0) {
|
||||||
that.canUse = true;
|
that.canUse = true;
|
||||||
that.sec = 0;
|
that.sec = 0;
|
||||||
|
clearInterval(that.timeTask);
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue