diff --git a/index.html b/index.html index ce72319..7eca8d5 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,5 @@
- diff --git a/index.html b/index.html index ce72319..7eca8d5 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,5 @@
- diff --git a/src/utils/request.js b/src/utils/request.js index 17173bb..28ffa69 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -8,8 +8,8 @@ // 创建axios实例 const service = axios.create({ baseURL: process.env.BASE_API, // api 的 base_url - timeout: 30000, // 请求超时时间 - headers: { 'Content-Type': 'appliction/x-www-form-urlencoded' } + timeout: 30000 // 请求超时时间 + // headers: { 'Content-Type': 'appliction/x-www-form-urlencoded' } }) // request拦截器 @@ -62,7 +62,6 @@ }) return Promise.reject(res) } - // return Promise.reject(res) } else { return response.data }