taro-hooks
taro-hooks copied to clipboard
fix: replace deprecated getSystemInfoSync with new Taro system APIs
🤔 这个变动的性质是?/ What is the nature of this change?
- [ ] 新特性提交 / New feature
- [x] bug 修复 / Fix bug
- [ ] 样式优化 / Style optimization
- [ ] 代码风格优化 / Code style optimization
- [ ] 性能优化 / Performance optimization
- [ ] 构建优化 / Build optimization
- [ ] 网站、文档、Demo 改进 / Website, documentation, demo improvements
- [x] 重构代码或样式 / Refactor code or style
- [ ] 测试相关 / Test related
- [ ] 其他 / Other
🔗 相关 Issue / Related Issue
Link: #81
💡 需求背景和解决方案 / Background or solution
📝 更新日志 / Changelog
| Language | Changelog |
|---|---|
| 🇺🇸 English | |
| 🇨🇳 Chinese |
@kirklin is attempting to deploy a commit to the innocces' projects Team on Vercel.
A member of the Team first needs to authorize it.
这是微信开发者工具报的警告。但是微信提供的用来替代的api例如 getWindowInfo,其他小程序里只有支付宝小程序支持了。Taro对这些api是做直接替换的 换成 wx.getWindowInfo my.getWindowInfo。 现在直接替换会影响兼容其他端吧
=。- 这么说确实。目前新增的相关 systemInfo 的其他 api 已经补充了. 这个暂时挂起好了
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.