From 79a8edb1b1c3c47038288f82c5409f072cd51f76 Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Wed, 10 Apr 2024 16:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=A1=E5=8D=95=E6=94=AF=E4=BB=98=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/cardList/PayResult.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = ''