Переглянути джерело

Merge pull request #431 from tron/revert-422-test

Revert "test"
John-Hong 1 рік тому
батько
коміт
4dc880fa2d
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/store/order/index.js

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

@@ -1,4 +1,4 @@
-// import checkOutQHResponse from "@/api/mockData/checkout.szjsgc5.response.json";
+import checkOutQHResponse from "@/api/mockData/checkout.szjsgc5.response.json";
 import { checkOut,calculateDiscount,ordersAndPrepay,currentUnlicensedPlate,unlicensedCarCheckIn,unlicensedCarCheckout } from '@/api/parking';
 import state from "@/store/order/state";
 import mutations from "@/store/order/mutations";
@@ -41,8 +41,8 @@ export default {
           duration: 0
         });
         const method = unlicensed && endlessLoop && gateId || !vehicleNo ? unlicensedCarCheckout : checkOut
-        const res = await method(vehicleNo, unlicensed, gateId);
-        // const res = checkOutQHResponse  
+        // const res = await method(vehicleNo, unlicensed, gateId);
+        const res = checkOutQHResponse  
         Toast.clear();
         if ( res?.parkingRecord?.totalFee <= 0 ) {
           callback && callback({