getPhoneNumber(e){
var that = this
var code = e.detail.code
console.log(code)
console.log(22222)
// debugger
LoginByWxPhone({code:code,username:that.openIdCode}).then(res=>{
console.log(res)
if (res.code == 200 && res.token) {
uni.setStorageSync('token', res.token);
this.loadUserInfo()
}else{
this.$u.toast('验证失败')
}
}).catch((res) => {
console.log("catch")
console.log(res)
uni.showToast({
title: res,
icon: "none"
})
}).finally(() => {
console.log("finally")
uni.hideLoading()
})
},
报错内容为
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
是因为隐私协议正在开通?