wangfukang 3 weeks ago
parent
commit
06cd917ace
  1. 4
      pages/index/index.vue

4
pages/index/index.vue

@ -568,8 +568,6 @@
if(uni.getStorageSync('area')){ if(uni.getStorageSync('area')){
this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id; this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id;
} }
this.getDelivery();
this.getShopArea();
let area = JSON.parse(uni.getStorageSync('area')) let area = JSON.parse(uni.getStorageSync('area'))
this.areaName = area.title this.areaName = area.title
if(uni.getStorageSync('waimaiData')){ if(uni.getStorageSync('waimaiData')){
@ -596,6 +594,8 @@
} }
} }
} }
this.getDelivery();
this.getShopArea();
} }
// sticky offsetstatusBarHeight + 40px // sticky offsetstatusBarHeight + 40px
const info = uni.getSystemInfoSync(); const info = uni.getSystemInfoSync();

Loading…
Cancel
Save