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

使用中的一些问题 #1

Open
totemtec opened this issue Jun 13, 2019 · 0 comments
Open

使用中的一些问题 #1

totemtec opened this issue Jun 13, 2019 · 0 comments

Comments

@totemtec
Copy link

非常感谢Cap32的贡献,帮我的开发节省了很多时间。我根据自己的使用情况,做了以下修正

  1. Readme里有一些拼写错误 react拼成recat
  2. 检查微信环境,考虑给开发环境一个设置isWechat=true
  3. 我想在create-react-app创建的工程里直接使用源代码,发现编译有些问题,主要集中在index.js中export的用法。这块对项目配置可以做一些说明,比如需要自己再加哪些依赖
  4. iOS和Android处理调用getConfig和wx.config的时机不一样,这块最好兼容支持一下,iOS把第一个页面的url和config数据保存在sessionStorage里就好了。

使用过程中,参考了
yongheng2016/blog#78

另外总结了一些微信分享和微信支付的经验,放在了自己仓库里

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

1 participant