This commit is contained in:
zhongshilong 2025-04-30 14:58:59 +08:00
parent 94d9adfe64
commit 79fe21fac5

View File

@ -508,10 +508,8 @@
this.list = this.invests this.list = this.invests
if(item.index == 1){ if(item.index == 1){
let arr = this.incomes.map(item => { let arr = this.incomes.map(item => {
if(item.info.hasOwnProperty('createTimestamp')){ const info ={...item.info,money:item.money,}
item.info.createTimes = item.info.createTimestamp return info
}
return item.info
}) })
this.list = arr.sort((a, b) => b.createTimes - a.createTimes) this.list = arr.sort((a, b) => b.createTimes - a.createTimes)
} }