瀏覽代碼

fix: 去除 axios data的设置

奔跑的面条 3 年之前
父節點
當前提交
03628fd46b
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/api/axios.ts

+ 0 - 1
src/api/axios.ts

@@ -11,7 +11,6 @@ const axiosInstance = axios.create({
 axiosInstance.interceptors.request.use(
   (config: AxiosRequestConfig) => {
     config.headers = {}
-    config.data = {}
     return config
   },
   (error: AxiosRequestConfig) => {