Commit de547c23 authored by Xuguangxing's avatar Xuguangxing

feat: 更改sys-sdk版本, 增加timeout

parent 975785d2
...@@ -89,6 +89,7 @@ function clearRequest() { ...@@ -89,6 +89,7 @@ function clearRequest() {
// http request 拦截器 // http request 拦截器
instance.interceptors.request.use( instance.interceptors.request.use(
config => { config => {
config.timeout = 60000;
beforeRequest(config.headers._loading, config.headers._isLoading); beforeRequest(config.headers._loading, config.headers._isLoading);
const token = localStorage.get('token'); const token = localStorage.get('token');
const user = localStorage.get('user'); const user = localStorage.get('user');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment