200人测试10个手机小程序登陆授权无法调起?兼容问题?
用户点击登陆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);[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码]