docs: seller 端 axios修改 timeout过期时间

This commit is contained in:
RyanRan 2024-07-24 14:45:46 +08:00
parent aed57177dd
commit 708ae53fe2

View File

@ -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
} }