mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
fix: 去除 axios data的设置
This commit is contained in:
parent
d067560776
commit
03628fd46b
@ -11,7 +11,6 @@ const axiosInstance = axios.create({
|
|||||||
axiosInstance.interceptors.request.use(
|
axiosInstance.interceptors.request.use(
|
||||||
(config: AxiosRequestConfig) => {
|
(config: AxiosRequestConfig) => {
|
||||||
config.headers = {}
|
config.headers = {}
|
||||||
config.data = {}
|
|
||||||
return config
|
return config
|
||||||
},
|
},
|
||||||
(error: AxiosRequestConfig) => {
|
(error: AxiosRequestConfig) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user