From 93113ea0de2f3bcc09bf2d2bb42d4d8ce099758c Mon Sep 17 00:00:00 2001 From: imax <373170631@qq.com> Date: Thu, 7 Jul 2022 23:57:07 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/cashlist/cashlist.js | 7 +++---- pages/center/center.wxml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/center/cashlist/cashlist.js b/pages/center/cashlist/cashlist.js index d05d963..3b5bc5b 100644 --- a/pages/center/cashlist/cashlist.js +++ b/pages/center/cashlist/cashlist.js @@ -7,12 +7,11 @@ Page({ * 页面的初始数据 */ data: { - cashlist:[ - // {money:'655',time:'2020-12-10 12:00:00',status:'1'}, + cashlist:[] + // {money:'655',time:'2020-12-10 12:00:00',status:'1'}, // {money:'655',time:'2020-12-10 12:00:00',status:'2'}, // {money:'655',time:'2020-12-10 12:00:00',status:'3'}, // {money:'655',time:'2020-12-10 12:00:00',status:'1'}, - ] }, /** @@ -35,7 +34,7 @@ Page({ let datas = res.data.data; console.log(datas) this.setData({ - cashlist: res.data + cashlist: datas }); }) }, diff --git a/pages/center/center.wxml b/pages/center/center.wxml index c9ac8d7..c256cd4 100644 --- a/pages/center/center.wxml +++ b/pages/center/center.wxml @@ -55,7 +55,7 @@ 提现 - 提现记录 +