From 68cdcd8587dab5cc0904500992ae747022c7b597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 19 May 2022 09:31:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=88=91=E7=9A=84=E8=B6=B3?= =?UTF-8?q?=E8=BF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/myTracks.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/mine/myTracks.vue b/pages/mine/myTracks.vue index b485793..4768c70 100644 --- a/pages/mine/myTracks.vue +++ b/pages/mine/myTracks.vue @@ -116,12 +116,12 @@ uni.stopPullDownRefresh(); uni.hideLoading(); if (res.statusCode == 200) { - res.data.result && - res.data.result.forEach((item) => { + res.data.result.records.length && + res.data.result.records.forEach((item) => { item.show = false; }); - let data = res.data.result; + let data = res.data.result.records; if (data.total == 0) { this.whetherEmpty = true; } else {