Commit 76d48e20 by zhangzhen

细节优化

parent 42aa6c74
......@@ -1367,13 +1367,13 @@
console.log(res.data.data.consumerMonthlyCard,'res.data.data.consumerMonthlyCard')
this.monthlyCardList = res.data.data.consumerMonthlyCard[0]
this.monthlyCardList = res.data.data.consumerMonthlyCard
}else{
this.monthlyCardList = [];
}
if(this.userInfo.secondaryCardList && res.data.data && res.data.data.consumerSecondaryCard && res.data.data.consumerSecondaryCard.length){
this.secondaryCardList = res.data.data.consumerSecondaryCard[0]
this.secondaryCardList = res.data.data.consumerSecondaryCard
let list = this.userInfo.secondaryCardList.filter(item=>{
return moment().valueOf() < moment(item.expirationDate).valueOf() && item.number>0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment