docs: seller 端 axios修改 timeout过期时间
This commit is contained in:
parent
aed57177dd
commit
708ae53fe2
@ -20,10 +20,10 @@ export const uploadFile = commonUrl + "/common/common/upload/file";
|
|||||||
var isRefreshToken = 0;
|
var isRefreshToken = 0;
|
||||||
const refreshToken = getTokenDebounce();
|
const refreshToken = getTokenDebounce();
|
||||||
const service = axios.create({
|
const service = axios.create({
|
||||||
timeout: 10000,
|
|
||||||
baseURL: baseUrl
|
baseURL: baseUrl
|
||||||
});
|
});
|
||||||
|
axios.defaults.timeout = 100000
|
||||||
const recordCurrentPath = () => {
|
const recordCurrentPath = () => {
|
||||||
return router.history.current.fullPath
|
return router.history.current.fullPath
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user