Commit 103f025467dd23affbb14317a5627d86eee9f155

Authored by wangfan
1 parent 1a4b10cc

c端预定

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