Showing
1 changed file
with
2 additions
and
1 deletions
| @@ -96,7 +96,8 @@ Page({ | @@ -96,7 +96,8 @@ Page({ | ||
| 96 | }) | 96 | }) |
| 97 | this.getMarkers(); | 97 | this.getMarkers(); |
| 98 | //this.getMapPos(); | 98 | //this.getMapPos(); |
| 99 | - }).catch(()=>{ | 99 | + }).catch((e)=>{ |
| 100 | + console.log('wx.getLocation.catch',e); | ||
| 100 | this.selectComponent('#showModal').options({ | 101 | this.selectComponent('#showModal').options({ |
| 101 | header:'定位失败', | 102 | header:'定位失败', |
| 102 | body:'需要地理位置授权' | 103 | body:'需要地理位置授权' |
-
Please register or login to post a comment