소스 검색

无牌车参数首次异常

john 1 년 전
부모
커밋
87299d0ae5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/store/order/index.js

+ 1 - 1
src/store/order/index.js

@@ -35,7 +35,7 @@ export default {
         // const res = await checkOut('沪DCJ986');
         // console.log('无牌车扫码出场', endlessLoop);
         // 场内缴费,调 check-out 接口,
-        const method = unlicensed && endlessLoop || !vehicleNo ? unlicensedCarCheckout : checkOut
+        const method = unlicensed && endlessLoop && gateId || !vehicleNo ? unlicensedCarCheckout : checkOut
         const res = await method(vehicleNo, unlicensed, gateId);
         // const res = checkOutQHResponse
         if ( res?.parkingRecord?.totalFee <= 0 ) {