Compare commits

...

2 Commits

Author SHA1 Message Date
zhongshilong
d6938de9fc 优化 2025-04-30 15:00:30 +08:00
zhongshilong
79fe21fac5 优化 2025-04-30 14:58:59 +08:00

View File

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