From 33bca11c5ee8db8a0ca3444869f0cc3048edbe94 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 20 九月 2024 14:15:36 +0800 Subject: [PATCH] bug --- packagePersonal/pages/userSetting/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/packagePersonal/pages/userSetting/index.js b/packagePersonal/pages/userSetting/index.js index 1bbd3e3..7329d10 100644 --- a/packagePersonal/pages/userSetting/index.js +++ b/packagePersonal/pages/userSetting/index.js @@ -127,7 +127,7 @@ this.setData({ userInfoBox: e.detail.visible, countDown: 0, - mailCountDown:0 + mailCountDown: 0 }); }, editIconInfo(e) { @@ -277,6 +277,7 @@ }, getPhoneCode() { + if (this.data.countDown > 0) return false if (this.data.userInfoForm.phone && this.data.userInfoForm.captcha) { app.MG.identity .getPhoneCode({ -- Gitblit v1.9.1