@@ -33,6 +33,10 @@ Page({
})
},
wechatLogin() {
+ if (!this.data.isAgree) return Toast({
+ message: '请阅读并勾选用户协议',
+ position: 'bottom'
+ });
wx.login({
success(res) {
if (res.code) {