'演示问题修复-2'

This commit is contained in:
hhl123456789
2024-02-19 18:17:00 +08:00
parent c498e83341
commit c127e5fc84
6 changed files with 7 additions and 2 deletions
+4
View File
@@ -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,