'演示问题修复-2'
This commit is contained in:
@@ -36,6 +36,10 @@ service.interceptors.request.use(config => {
|
||||
config.params = {};
|
||||
config.url = url;
|
||||
}
|
||||
if (config.url === '/caseApplication/mediation') {
|
||||
// 调解时对于特定的请求设置超时时间为20秒
|
||||
config.timeout = 20000; // 20秒
|
||||
}
|
||||
if (!isRepeatSubmit && (config.method === 'post' || config.method === 'put')) {
|
||||
const requestObj = {
|
||||
url: config.url,
|
||||
|
||||
Reference in New Issue
Block a user