Ver código fonte

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

product
HolyKnightIX 1 ano atrás
pai
commit
effab594c6
1 arquivos alterados com 9 adições e 0 exclusões
  1. +9
    -0
      package2/pages/appointment/appointment.js

+ 9
- 0
package2/pages/appointment/appointment.js Ver arquivo

@@ -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 => {


Carregando…
Cancelar
Salvar