فهرست منبع

fix:资产展示显示问题

liyangbin 1 سال پیش
والد
کامیت
29be6b016c
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/views/billing/plan.vue

+ 2 - 2
src/views/billing/plan.vue

@@ -185,8 +185,8 @@ export default class Plan extends Vue {
           } else if (this.PricingPlanList[i].assetType === 3) {
           } else if (this.PricingPlanList[i].assetType === 3) {
             this.PricingPlanList[i].assetTypeShow = 'Free'
             this.PricingPlanList[i].assetTypeShow = 'Free'
           }
           }
-          this.PricingPlanList[i].endDate = this.PricingPlanList[i].endDate.replace(/-/g, '/')
-          this.PricingPlanList[i].startDate = this.PricingPlanList[i].startDate.replace(/-/g, '/')
+          this.PricingPlanList[i].endDate = this.PricingPlanList[i].endDate?.replace(/-/g, '/')
+          this.PricingPlanList[i].startDate = this.PricingPlanList[i].startDate?.replace(/-/g, '/')
         }
         }
       }
       }
     }).catch(err => {
     }).catch(err => {