D4THYL3\long 2 年 前
コミット
1261718805
1 ファイル変更4 行追加4 行削除
  1. 4 4
      smart/src/views/vehicleInformation/setpPage/recharge.vue

+ 4 - 4
smart/src/views/vehicleInformation/setpPage/recharge.vue

@@ -257,10 +257,10 @@ export default {
     recharges (item) {
       debugger
       this.id = item.id;
-      this.valueselect = this.complimentaryDays[this.id - 1].label;
-      this.valueselectName = this.complimentaryDays[this.id - 1].name;
-      this.idType = this.complimentaryDays[this.id - 1].idType;
-      this.chargeAmount = this.complimentaryDays[this.id - 1].chargeAmount;
+      this.valueselect = this.complimentaryDays[0].label;
+      this.valueselectName = this.complimentaryDays[0].name;
+      this.idType = this.complimentaryDays[0].idType;
+      this.chargeAmount = this.complimentaryDays[0].chargeAmount;
       this.chargeNumber = item.name;
     },
     submit () {