Commit 103f025467dd23affbb14317a5627d86eee9f155

Authored by wangfan
1 parent 1a4b10cc

c端预定

Showing 1 changed file with 1 additions and 1 deletions
@@ -154,7 +154,7 @@ Page({ @@ -154,7 +154,7 @@ Page({
154 }) 154 })
155 }).catch((e) => { 155 }).catch((e) => {
156 console.log('wx.getLocation.catch', e); 156 console.log('wx.getLocation.catch', e);
157 - if ('getLocation:fail auth deny' == e.errMsg) { 157 + if ('getLocation:fail auth deny' == e.errMsg || 'getLocation:fail:auth denied' == e.errMsg) {
158 this.selectComponent('#showModal').options({ 158 this.selectComponent('#showModal').options({
159 header: '定位失败', 159 header: '定位失败',
160 body: '需要地理位置授权' 160 body: '需要地理位置授权'