Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -340,7 +340,9 @@ Page({ | @@ -340,7 +340,9 @@ Page({ | ||
| 340 | let hasInCity=await this.hasInCity(suggestion) | 340 | let hasInCity=await this.hasInCity(suggestion) |
| 341 | console.log('hasInCity',hasInCity) | 341 | console.log('hasInCity',hasInCity) |
| 342 | if(!hasInCity.flag){ | 342 | if(!hasInCity.flag){ |
| 343 | - return util.toast('该位置不在当前城市,建议换个位置','none'); | 343 | + return setTimeout(()=>{ |
| 344 | + util.toast('该位置不在当前城市,建议换个位置','none'); | ||
| 345 | + },300) | ||
| 344 | } | 346 | } |
| 345 | wx.navigateTo({ | 347 | wx.navigateTo({ |
| 346 | url:util.http_build_query({ | 348 | url:util.http_build_query({ |
-
Please register or login to post a comment