|
...
|
...
|
@@ -142,7 +142,9 @@ Page({ |
|
|
|
this.GetCollectionSellerList();
|
|
|
|
}).catch((e) => {
|
|
|
|
console.log('wx.getLocation.catch', e);
|
|
|
|
if ('getLocation:fail auth deny' == e.errMsg || 'getLocation:fail:auth denied' == e.errMsg) {
|
|
|
|
if ('getLocation:fail auth deny' == e.errMsg
|
|
|
|
|| 'getLocation:fail:auth denied' == e.errMsg
|
|
|
|
|| 'getLocation:fail authorize no response' == e.errMsg) {
|
|
|
|
this.selectComponent('#showModal').options({
|
|
|
|
header: '定位失败',
|
|
|
|
body: '需要地理位置授权'
|
|
...
|
...
|
@@ -176,4 +178,7 @@ Page({ |
|
|
|
url:'/pages/reserve/detail?id='+util.attr(e,'sid')
|
|
|
|
})
|
|
|
|
},
|
|
|
|
showModal(e){
|
|
|
|
wx.openSetting()
|
|
|
|
},
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|