diff --git a/src/views/ebiz/cardList/PayResult.vue b/src/views/ebiz/cardList/PayResult.vue index b46a0d178..f9c2224a5 100644 --- a/src/views/ebiz/cardList/PayResult.vue +++ b/src/views/ebiz/cardList/PayResult.vue @@ -211,8 +211,9 @@ export default { this.queryPayState() } this.card.orderNo = window.localStorage.getItem('orderNo') - this.card.insuredName = JSON.parse(JSON.stringify(window.sessionStorage.getItem('orderDetail'))).insuredDTOs[0].name - this.card.insuredName = JSON.parse(JSON.stringify(window.sessionStorage.getItem('orderDetail'))).insuredDTOs[0].riskDTOLst[0].cvaliDate + let orderDetail = JSON.parse(sessionStorage.orderDetail) + this.card.insuredName = orderDetail.insuredDTOs[0].name + this.card.cvalidate = orderDetail.insuredDTOs[0].riskDTOLst[0].cvaliDate }, beforeRouteLeave(to, from, next) { document.body.style.backgroundColor = ''