摘要: 1.在axios 返回拦截器中实现 代码如下 const service = axios.create({ baseURL:import.meta.env.VITE_API_BASEPATH, // api 的 base_url timeout: 600000, // 请求超时时间 headers: 阅读全文
posted @ 2022-12-26 10:13 火龙果呀 阅读(383) 评论(0) 推荐(0)