Bladeren bron

fix: entryExit.vue 修正API函数名——obtainLotList→obtainPullOverList

lq 1 maand geleden
bovenliggende
commit
f59ddae0af
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      frontend/src/view/parking/entryExit.vue

+ 2 - 2
frontend/src/view/parking/entryExit.vue

@@ -78,7 +78,7 @@
 import { ref, reactive, onMounted } from 'vue'
 import { ElMessage, ElMessageBox } from 'element-plus'
 import { obtainVehicleLicense, vehicleEntry, vehicleAppear } from '@/api/vehicle'
-import { obtainLotList } from '@/api/pullOver'
+import { obtainPullOverList } from '@/api/pullOver'
 
 const activeTab = ref('entry')
 const queryForm = reactive({ plate_number: '', rfid_tag: '' })
@@ -91,7 +91,7 @@ const parkingLotList = ref([])
 
 onMounted(async () => {
   try {
-    const res = await obtainLotList({ page: 1, pageSize: 100 })
+    const res = await obtainPullOverList({ page: 1, pageSize: 100 })
     parkingLotList.value = res.data?.list || []
   } catch (e) {
     console.error('加载停车场列表失败', e)