这个是什么错误?

发布于 8 年前作者 huangtao14729 次浏览最后编辑 8 年前来自 ask

upUserInfo@<https://servicewechat.qq.com/app-service.js:114:367225&gt;&gt;&gt;&lt;&lt;&lt;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地址

1 回复
guiyinggu
guiyinggu1 楼6 年前

错误信息呢?这么不完整的?