chore: wx.getSystemInfoSync is deprecated

wx.getSystemInfoSync is deprecated.Please use wx.getSystemSetting/wx.getAppAuthorizeSetting/wx.getDeviceInfo/wx.getWindowInfo/wx.getAppBaseInfo instead.
This commit is contained in:
2026-01-06 14:02:34 +08:00
parent d9f0d1987e
commit ce13661826
8 changed files with 42 additions and 16 deletions

View File

@@ -40,7 +40,7 @@
// #endif
// #ifdef H5
if (uni.getSystemInfoSync().platform == 'ios') {
if (this.$util.getDeviceInfo().platform == 'ios') {
uni.setStorageSync('initUrl', location.href);
}
// #endif