Jelajahi Sumber

修复充电详情页电桩异常重复展示的问题

zuy 9 bulan lalu
induk
melakukan
cc23d939fd
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/pages-charge/appointment/appointment.vue

+ 2 - 1
src/pages-charge/appointment/appointment.vue

@@ -5,7 +5,7 @@
         <view class="station">
           <ChargeMachine
               :title="'NO.' + equipment.shortId"
-              :list="station.connectInfoList"
+              :list="[equipment]"
               :time="priceInfo.useTime"
               :parkingNo="equipment.parkingNo"
           ></ChargeMachine>
@@ -859,6 +859,7 @@ onLoad((_options: any) => {
   fetchStationDetailByShortIdOrConnectorIdOrEquipmentId(sn, connectorId, equipmentId)
       .then((res) => {
         console.log("1111111111", res);
+        //充电桩需要再次过滤
         stationId.value = res.stationId;
         fetchUserStationDefaultRightsAndCoupon();
         if (sn) {