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

微信小程序基础库版本 2.20.1 起已废弃wx.getSystemInfoSync 这个API,请问后续有计划更新没? #3162

Closed
lihua0103 opened this issue Sep 26, 2024 · 3 comments · Fixed by #3192
Labels
in progress issue or pull request is in progress

Comments

@lihua0103
Copy link

tdesign-miniprogram 版本

最新版本

重现链接

No response

重现步骤

基础库版本 2.20.1 起已废弃,请使用 wx.getSystemSetting、wx.getAppAuthorizeSetting、wx.getDeviceInfo、wx.getWindowInfo、wx.getAppBaseInfo 替换 wx.getSystemInfo 的同步版本

期望结果

同步替换成最新的api

实际结果

还是旧有的api获取设备信息

基础库版本

No response

补充说明

当前获取微信设备相关信息还是旧有API,微信已经提示替换新的API,后续不更新会不会影响产品使用

Copy link
Contributor

👋 @lihua0103,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Sep 26, 2024

@lihua0103 下个版本会全局处理

@anlyyao anlyyao added the in progress issue or pull request is in progress label Sep 26, 2024
@lihua0103
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress issue or pull request is in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants