zy-acs-flow/src/map/http.js
@@ -430,3 +430,18 @@ } return null; } export const fetchAgvListAll = async () => { try { const res = await request.get('/agv/list'); const { code, msg, data } = res.data; if (code === 200) { return data || []; } notify.error(msg); } catch (error) { notify.error(error.message); console.error(error.message); } return []; }