Explorar el Código

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

zuy hace 9 meses
padre
commit
cc23d939fd
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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) {