From 8a27f5724e10e82cc5a30bf7051397da2e697e63 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期四, 19 十二月 2024 10:49:11 +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