axios get请求参数传值未成功
const ajax = axios.create({ baseURL: 'https://www.fastmock.site/mock/ae8e9031947a302fed5f92425995aa19/jd', timeout: 10000})export const get = (url, params = {}) => { return new Promise((resolve, reject) => { ajax.get(url, { params }).the.
原创
2021-05-18 11:49:07 ·
1415 阅读 ·
0 评论