Преглед изворни кода

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

zuy пре 9 месеци
родитељ
комит
cc23d939fd
1 измењених фајлова са 2 додато и 1 уклоњено
  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) {