axios 1.2.0
https://github.com/axios/axios/issues/5058
import axios from 'axios';
const backend = axios.create({
baseURL: 'http://192.168.100.99/api/',
timeout: 30 * 1000,
paramsSerializer: {
indexes: null, // by default: false
},
});
export { backend };
2598

被折叠的 条评论
为什么被折叠?



