소스 검색

feat(KIP-19153): 山姆优惠选项3

john 9 달 전
부모
커밋
0dac2b9a04
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pages/parkingFeeV2/mixins/parkingFeeDetailSuccess.js

+ 2 - 2
src/pages/parkingFeeV2/mixins/parkingFeeDetailSuccess.js

@@ -35,8 +35,8 @@ export default {
       // projectId: (state) => state.projectId,
     }),
     parkDiscountDesc() {
-      if(this.detail.hasOwnProperty('parkDiscount')) {
-        return this.detail.parkDiscount
+      if(this.detail.discountInfo.hasOwnProperty('parkDiscount')) {
+        return this.detail.discountInfo.parkDiscount
       }
       return 'hide'
     }