From effab594c61e28b44b78c368e1887da3d7fd1234 Mon Sep 17 00:00:00 2001 From: YWQ HK IX <568170040@qq.com> Date: Thu, 22 Jun 2023 19:22:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=8E=88=E6=9D=83=E5=AE=9A=E4=BD=8D?= =?UTF-8?q?=E6=97=B6=E5=95=86=E6=88=B7=E5=90=8D=E5=87=BA=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package2/pages/appointment/appointment.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package2/pages/appointment/appointment.js b/package2/pages/appointment/appointment.js index e4e454a..256dda5 100644 --- a/package2/pages/appointment/appointment.js +++ b/package2/pages/appointment/appointment.js @@ -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 => {