Explorar el Código

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

john hace 9 meses
padre
commit
0dac2b9a04
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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'
     }