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) }