Commit 3b4b4681 authored by 薛智杰's avatar 薛智杰

Merge branch 'feat/version' into 'master'

feat: change version

See merge request !2
parents 6b319cc5 fed02f13
...@@ -10,7 +10,7 @@ let loadingTimeOut; ...@@ -10,7 +10,7 @@ let loadingTimeOut;
let closeTimeOut; let closeTimeOut;
const config = { const config = {
timeout: 30000, timeout: 60000,
}; };
const instance = axios.create(Object.assign({}, config)); const instance = axios.create(Object.assign({}, config));
...@@ -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');
......
{ {
"name": "@qg/sys-sdk", "name": "@qg/sys-sdk",
"version": "1.0.16", "version": "1.0.18",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
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