Commit c7ce8db223dc83349833c9ec8f49595880f67443

Authored by vking
1 parent 9f80587f

search

Showing 1 changed file with 5 additions and 1 deletions
... ... @@ -229,7 +229,10 @@ Page({
...this.findSellerData.paramObj,
}
console.log('this.location',this.location)
if(this.location){
if(this.suggestion){
this.param.lat_extend=this.suggestion.latitude
this.param.lng_extend=this.suggestion.longitude
}else if(this.location){
this.param.lat_extend=this.location.latitude
this.param.lng_extend=this.location.longitude
}
... ... @@ -448,6 +451,7 @@ Page({
},
moveToLocation(){
delete this.options.keyword
this.suggestion=null
this.setData({
keyword:'',
})
... ...