Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickstart案例运行起来了,但是显示不了头像!!请求大侠们帮忙 #59

Open
zhengjunxiang opened this issue Sep 24, 2016 · 6 comments

Comments

@zhengjunxiang
Copy link

quickstart案例运行起来了,但是显示不了头像。没有任何报错,而且img标签的src是空的

@fegg
Copy link

fegg commented Sep 24, 2016

@zhengjunxiang 破解版不能和真实一样的感觉,不能获取微信的信息,虽然 wx 对象里面有方法。

@zhengjunxiang
Copy link
Author

@fegg 哦原来是这样,谢谢的回答

@hellozhangran
Copy link

@fegg @zhengjunxiang 现在可以显示头像了。方法是:

  1. 下载官网给出的ide:https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html?t=1474644089434
  2. 安装后创建小程序,切记,不要填写appid,填写框右下边有一个文字按钮,点一下就可以了。
  3. 最后创建,创建出来的小程序是没有appid的,会显示一部分功能,但是得到头像是没有问题的。

@xiangzhai
Copy link

@hellozhangran 官方给出了IDE为什么还要破解?!#52

v0.9.092300 依然存在 typo 问题。。。#31

@zhengjunxiang
Copy link
Author

@hellozhangran 刚试了确实可,多谢了,请问怎样才可以预览呢,好期待啊

@jsongo
Copy link

jsongo commented Sep 28, 2016

在app.js里覆盖全局的globalData.userInfo这个参数就可以模拟登录后拿到用户信息了。相关代码可以参考:https://github.com/jsongo/weApp-ide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants