dev_auth
杨树林 5 years ago
parent c622271494
commit 5169a3682c

@ -94,10 +94,10 @@ export function initAxiosInterceptors(props) {
}
}
if (requestMap[config.url] === true) { // 避免重复的请求 导致页面f5刷新 也会被阻止
console.log("被阻止了是重复请求=================================");
return false;
}
// if (requestMap[config.url] === true) { // 避免重复的请求 导致页面f5刷新 也会被阻止
// console.log("被阻止了是重复请求=================================");
// return false;
// }
// 非file_update请求
if (config.url.indexOf('update_file') === -1) {
requestMap[config.url] = true;

Loading…
Cancel
Save