2663关注8265浏览
upUserInfo@https://servicewechat.qq.com/app-service.js:114:367225https://servicewechat.qq.com/app-service.js:114:367153n 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地址
-
至过去的我
2044人对此回答表示赞同
我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多> -
Stella
11人对此回答表示赞同
错误信息呢?这么不完整的?
展开112回复分享发布于 6年前评论(2)
收起评论
麻烦给个相关的代码片段
upUserInfo@https://servicewechat.qq.com/app-service.js:114:367225https://servicewechat.qq.com/app-service.js:114:367153nemitvaluefm错误信息就是这个,我在后台看到的