mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 完成自定义请求功能
This commit is contained in:
@@ -10,7 +10,6 @@ const axiosInstance = axios.create({
|
||||
|
||||
axiosInstance.interceptors.request.use(
|
||||
(config: AxiosRequestConfig) => {
|
||||
config.headers = {}
|
||||
return config
|
||||
},
|
||||
(error: AxiosRequestConfig) => {
|
||||
|
||||
Reference in New Issue
Block a user