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:
@@ -124,7 +124,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.systemInfo = uni.getSystemInfoSync();
|
||||
this.systemInfo = this.$util.getDeviceInfo();
|
||||
},
|
||||
watch: {
|
||||
pointLimit(newNum, oldNum) {
|
||||
|
||||
@@ -266,7 +266,7 @@
|
||||
},
|
||||
created() {
|
||||
this.isIphoneX = this.$util.uniappIsIPhoneX();
|
||||
this.systemInfo = uni.getSystemInfoSync();
|
||||
this.systemInfo = this.$util.getDeviceInfo();
|
||||
this.isLoad = true;
|
||||
if (this.goodsId && this.goodsDetail.goods_spec_format) {
|
||||
this.skuId = this.goodsDetail.sku_id;
|
||||
|
||||
Reference in New Issue
Block a user