From 231936c91d7c1120912690d894a1a84d5069daab Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Thu, 7 Sep 2023 11:41:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8B=BE=E9=80=89=E5=8D=8F=E8=AE=AE=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/passport/wechatMPLogin.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pages/passport/wechatMPLogin.vue b/pages/passport/wechatMPLogin.vue index b436aa2..08dca1d 100644 --- a/pages/passport/wechatMPLogin.vue +++ b/pages/passport/wechatMPLogin.vue @@ -53,6 +53,8 @@ export default { data() { return { + lightColor:this.$lightColor, + checked:false, configs:config, // 是否展示手机号码授权弹窗,默认第一步不展示,要先获取用户基础信息 phoneAuthPopup: false, @@ -114,6 +116,13 @@ //获取用户信息 getUserProfile(e) { + if(!this.checked){ + uni.showToast({ + title:"请勾选协议", + icon:'none' + }) + return + } this.logingFlag = true; if (this.code) {