Authored by shuaiguo

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

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