upUserInfo@<https://servicewechat.qq.com/app-service.js:114:367225>>><<<FLOATING LINK: https://servicewechat.qq.com/app-service.js:114:367153>n
emit value
f
m
let button = wx.createUserInfoButton({ type: ‘image’, text:‘用户信息授权’, image:"", lang:‘zh_CN’, style: { left: left, top: top, width: 176.5, height: 64.5, lineHeight: 40, backgroundColor: ‘#ff0000’, color: ‘#ffffff’, textAlign: ‘center’, fontSize: 16, borderRadius: 4 } }) button.onTap((data)=>{ //请求服务器同步数据返回后隐藏 if(data == undefined || data.userInfo == undefined){ //获取不到授权数据,让用户直接登录 User._instance.state = 1; return; } instance.upUserInfo(data); button.hide(); }); button.show();
求这个报错是为啥?, 代码片段我把图片地址删除了,是一个https地址