1.提交代码 修改区域

yj-dev
杨杰 4 years ago
parent b0221a7095
commit 3773911204
  1. 3
      pages/tabBar/category/category.vue
  2. 7
      pages/tabBar/home/home.vue

@ -113,8 +113,7 @@
success: function(res) {
that.city = res.data.result.address_component.city.replace(/市/g,
'');
let a = res.data.result.ad_info.adcode.substring(5, '0');
app.globalData.cityId = a + 0;
app.globalData.cityId = res.data.result.ad_info.adcode;
// app.globalData.cityId = '500100';
that.getMerchantList();
uni.hideLoading()

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save