修复请求影响延迟

This commit is contained in:
eoao
2025-09-14 11:49:37 +08:00
parent b21b63aea7
commit 457304eafb

View File

@@ -66,13 +66,16 @@ http.interceptors.response.use((res) => {
})
reject(data)
}
setTimeout(() => {
resolve(data.data)
},300)
resolve(data.data)
})
},
(error) => {
if (error.status === 403) {
location.reload();
return;
}
const showMsg = error.config.noMsg;
if (showMsg) {