From 79fe21fac5426e6ec481f6292026539bb21627fa Mon Sep 17 00:00:00 2001 From: zhongshilong Date: Wed, 30 Apr 2025 14:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/smarttrading/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/smarttrading/index.vue b/pages/smarttrading/index.vue index 143896b..18cae9b 100644 --- a/pages/smarttrading/index.vue +++ b/pages/smarttrading/index.vue @@ -508,10 +508,8 @@ this.list = this.invests if(item.index == 1){ let arr = this.incomes.map(item => { - if(item.info.hasOwnProperty('createTimestamp')){ - item.info.createTimes = item.info.createTimestamp - } - return item.info + const info ={...item.info,money:item.money,} + return info }) this.list = arr.sort((a, b) => b.createTimes - a.createTimes) }