We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead. getSystemInfoSync
1.11.6
从基础库 2.20.1 开始,wx.getSystemInfoSync()接口停止维护,请使用 wx.getSystemSetting、wx.getAppAuthorizeSetting、wx.getDeviceInfo、wx.getWindowInfo、wx.getAppBaseInfo 代替
详见文档:https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoSync.html
调用任意组件,都可复现
version.js 中的getSystemInfoSync()被调用时发生
getSystemInfoSync()
function getSystemInfoSync() { if (systemInfo == null) { systemInfo = wx.getSystemInfoSync(); } return systemInfo; }
No response
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
还没处理好呀?效率太低了
No branches or pull requests
重现链接
Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead. getSystemInfoSync
Vant Weapp 版本
1.11.6
描述一下你遇到的问题。
从基础库 2.20.1 开始,wx.getSystemInfoSync()接口停止维护,请使用 wx.getSystemSetting、wx.getAppAuthorizeSetting、wx.getDeviceInfo、wx.getWindowInfo、wx.getAppBaseInfo 代替
详见文档:https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoSync.html
重现步骤
调用任意组件,都可复现
version.js 中的
getSystemInfoSync()
被调用时发生设备/浏览器
No response
The text was updated successfully, but these errors were encountered: