Browse Source

未授权定位时商户名出错问题

product
HolyKnightIX 1 year ago
parent
commit
effab594c6
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      package2/pages/appointment/appointment.js

+ 9
- 0
package2/pages/appointment/appointment.js View File

@@ -145,6 +145,15 @@ Page({
},
// 拒绝提供定位权限
fail: error => {
console.log(error, 'error');
const mallList = that.data.mallList
mallList.forEach(item => {
item.distanceName = item.merchantName
})

that.setData({
mallList
})

},
complete: finish => {


Loading…
Cancel
Save