feat: enhance useFetchData hook with polling functionality and improve task progress tracking

This commit is contained in:
chenghh-9609
2025-10-23 09:56:06 +08:00
parent 69b9517181
commit 17960f674f
9 changed files with 261 additions and 181 deletions

View File

@@ -202,7 +202,7 @@ class Request {
try {
const errorData = await processedResponse.json();
error.data = errorData;
message.error(`请求失败,错误信息: ${processedResponse.statusText}`);
// message.error(`请求失败,错误信息: ${processedResponse.statusText}`);
} catch {
// 忽略JSON解析错误
}