Showing
2 changed files
with
2 additions
and
2 deletions
@@ -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; |
-
Please register or login to post a comment