Commit 8d22bb19 by 李伟康

commit 修复倒计时

1 parent c022ae67
...@@ -91,7 +91,6 @@ export default { ...@@ -91,7 +91,6 @@ export default {
if (!mobile) throw '请输入手机号'; if (!mobile) throw '请输入手机号';
if (!phoneRex.test(mobile)) throw '请输入正确的手机号'; if (!phoneRex.test(mobile)) throw '请输入正确的手机号';
if (count) throw '验证码发送过于频繁,请稍后再试'; if (count) throw '验证码发送过于频繁,请稍后再试';
this.countDown(60);
uni.showLoading(); uni.showLoading();
const { code, message } = await uni.$api.userApi.getSmsCode({ mobile }); const { code, message } = await uni.$api.userApi.getSmsCode({ mobile });
uni.hideLoading(); uni.hideLoading();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!