Browse Source

隐藏协议判断

master
liaoxinyu 11 months ago
parent
commit
e1a8e5b4af
  1. 14
      pages/index/login.vue

14
pages/index/login.vue

@ -420,15 +420,15 @@ export default {
}, },
weixinlogin:function(){ weixinlogin:function(){
var that = this; var that = this;
if ( !that.isagree) { // if ( !that.isagree) {
// that.showxieyi = true; // that.showxieyi = true;
// that.wxloginclick = true; // that.wxloginclick = true;
uni.showToast({ // uni.showToast({
title:'请先阅读并同意协议', // title:'',
icon:'none' // icon:'none'
}) // })
return; // return;
} // }
console.log('weixinlogin') console.log('weixinlogin')
that.wxloginclick = false; that.wxloginclick = false;
app.authlogin(function(res){ app.authlogin(function(res){

Loading…
Cancel
Save