Ver Fonte

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

john há 9 meses atrás
pai
commit
0dac2b9a04

+ 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'
     }