Authored by shuaiguo

fix(我的收入): 数据兼容

... ... @@ -12,7 +12,7 @@
<span class='assets-record-income-tip-txt'>{{item.tradeTypeDesc}}</span>
</div>
<div class="assets-detail-item" v-else>
<span class='assets-record-time-txt'>收款状态:</span>
<span class='assets-record-time-txt' v-if="item.tradeStatusDesc">收款状态:</span>
<span class='assets-record-income-tip-txt'>{{item.tradeStatusDesc}}</span>
</div>
<div class="assets-detail-item assets-detail-item-time">
... ...
... ... @@ -37,7 +37,7 @@ export function parseAssetList(json) {
time: moment(new Date(item.createTime * 1000)).format('YYYY.MM.DD HH:mm'),
normalFlag: item.normalFlag,
tradeStatusDesc: item.tradeStatusDesc,
isWaitApply: item.links.includes('applyCash')
isWaitApply: (item.links || []).includes('applyCash')
};
}) : [];
let isEnd = parsedList.length === 0 || page === pagetotal;
... ...