|
@@ -120,15 +120,15 @@ export default {
|
|
|
this.getLocationLoading = true;
|
|
|
this.getLocation().then(s => {
|
|
|
console.log("获取地理位置信息", s)
|
|
|
- resolve()
|
|
|
this.$Http.basic({
|
|
|
"id": 20240416153202,
|
|
|
"content": {
|
|
|
- "longitude": s.longitude,
|
|
|
- "latitude": s.latitude,
|
|
|
+ "longitude": s ? s.longitude : '',
|
|
|
+ "latitude": s ? s.latitude : '',
|
|
|
date: Date.now()
|
|
|
}
|
|
|
}).then(res => {
|
|
|
+ resolve()
|
|
|
this.getLocationLoading = false;
|
|
|
this.showShopOtions = false;
|
|
|
console.log("获取最近门店信息", res)
|