用户点击登陆button之后,opentype是binduserinfo,然后手机上面没有弹起来登陆授权
<button class='save' open-type="getUserInfo" bindgetuserinfo="bindGetUserInfo">微信登录</button>
bindGetUserInfo(res) { let self = this ; wx.login({ success: function (code) { http.post( "user/login" , self.getNeedData(res.detail, code.code)).then(msg => { if (msg.code === 1 ) { wx.setStorageSync( "token" , msg.data.userinfo.token); wx.setStorageSync( "user" , msg.data.userinfo); if (msg.data.userinfo.mobile == '' ){ self.setData({ showStatus: true , }); } else { wx.switchTab({ url: '/pages/index/index' , }) } } }). catch (err => { console.log(err); }) } }) }, |
open-type="getUserInfo" 不是binduserinfo
...噗
具体是哪些机型?开启调试看下有返回什么信息吗?
我比较好奇 另外190个手机是怎么弹出来的