Compare commits
2 Commits
6cd813318d
...
d6938de9fc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d6938de9fc | ||
![]() |
79fe21fac5 |
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user