邓洁 : 修改发布地址问题
This commit is contained in:
@@ -193,10 +193,12 @@
|
||||
// console.log(re.result.ad_info.district);
|
||||
let city = re.result.ad_info.city
|
||||
let district = re.result.ad_info.district
|
||||
let province = re.result.ad_info.province
|
||||
// console.log('city-code', re.result.ad_info.city_code.substring(3));
|
||||
uni.setStorageSync('city_code', re.result.ad_info.city_code.substring(3));
|
||||
uni.setStorageSync('city', city.slice(0, 2));
|
||||
uni.setStorageSync('city', city);
|
||||
uni.setStorageSync('district', district);
|
||||
uni.setStorageSync('province', province);
|
||||
that.getRegionList()
|
||||
// that.position = city.slice(0, 2) + district.slice(0, 2)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user