Compare commits
No commits in common. "d6938de9fcaf2154a48c66ed5aa05633b4bbb7a8" and "6cd813318dff93d4316fcd522a4aa854e201649f" have entirely different histories.
d6938de9fc
...
6cd813318d
@ -508,8 +508,10 @@
|
|||||||
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 => {
|
||||||
const info ={...item.info,money:item.money,}
|
if(item.info.hasOwnProperty('createTimestamp')){
|
||||||
return info
|
item.info.createTimes = item.info.createTimestamp
|
||||||
|
}
|
||||||
|
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