Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -441,7 +441,7 @@ Page({ | @@ -441,7 +441,7 @@ Page({ | ||
| 441 | offset: 0, | 441 | offset: 0, |
| 442 | rows: 50, | 442 | rows: 50, |
| 443 | distance: 100000, | 443 | distance: 100000, |
| 444 | - map:JSON.stringify({...this.mapData.region,scale:this.mapData.scale}) | 444 | + map:JSON.stringify({...this.mapData.region,scale:this.mapData.scale>=19?20:this.mapData.scale}) |
| 445 | } | 445 | } |
| 446 | if(this.data.multiIndex[0]>0){ | 446 | if(this.data.multiIndex[0]>0){ |
| 447 | param.cuisine=await DA.getCatesID(this.data.multiIndex[0]-1); | 447 | param.cuisine=await DA.getCatesID(this.data.multiIndex[0]-1); |
| @@ -620,6 +620,8 @@ Page({ | @@ -620,6 +620,8 @@ Page({ | ||
| 620 | if(suggestion.type==-1){//平台商户 | 620 | if(suggestion.type==-1){//平台商户 |
| 621 | this.activeSellerID=suggestion.id | 621 | this.activeSellerID=suggestion.id |
| 622 | map.scale=20 | 622 | map.scale=20 |
| 623 | + }else{ | ||
| 624 | + map.scale=mapScale | ||
| 623 | } | 625 | } |
| 624 | this.sellersIds=[] | 626 | this.sellersIds=[] |
| 625 | this.sellers=[] | 627 | this.sellers=[] |
-
Please register or login to post a comment