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 () {