feat: 新增微信小程序登录页面勾选协议功能

This commit is contained in:
Yer
2023-09-07 11:41:07 +08:00
parent 37b8e17cba
commit 231936c91d

View File

@@ -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) {