src/api/requestTR.js
@@ -5,7 +5,7 @@ baseURL: "/api", // 使用你配置的 /auth 代理 timeout: 1000 * 60, // 请求超时时间(单位:毫秒) headers: { "Content-Type": "application/x-www-form-urlencoded", // 默认请求头 "Content-Type": "application/x-www-form-urlencoded", // 默认请求头application/json }, }); // 请求拦截器