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地址



展开全部
收起
1回答
提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • Stella

    11人对此回答表示赞同

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

    展开
    11
    2回复
    发布于 6年前

    评论(2)

    收起评论

    • Alexa 2019-02-14 16:42

      麻烦给个相关的代码片段

      回复
    • Jaxson 2019-02-16 08:38

      upUserInfo@https://servicewechat.qq.com/app-service.js:114:367225https://servicewechat.qq.com/app-service.js:114:367153nemitvaluefm错误信息就是这个,我在后台看到的

      回复
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部