diff --git a/components/panel/formSlot.vue b/components/panel/formSlot.vue index dce0d29..c14885b 100644 --- a/components/panel/formSlot.vue +++ b/components/panel/formSlot.vue @@ -74,7 +74,7 @@
@@ -255,7 +255,7 @@ export default { // 短信倒计时 code: "", btnText: "获取验证码", // 6s - countdown: 0, + countdown: -1, timer: null, }, nationData: { @@ -456,7 +456,7 @@ export default { type: "assistant", }, (res) => { - that.msgCode.countdown = 60; + that.msgCode.countdown = 59; that.msgCode.btnText = that.msgCode.countdown + "s"; clearInterval(that.msgCode.timer); that.msgCode.timer = setInterval(() => {