Commit 641ab89c9c0036a896c3eadf58b155b0f8464962

Authored by wangfan
1 parent 40eef145

reserve index

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:'需要地理位置授权'