From 62569f5a20510dad64109ef18ba64929b8fecef6 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 03 四月 2026 12:38:31 +0800
Subject: [PATCH] #
---
rsf-design/src/hooks/core/useTable.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/rsf-design/src/hooks/core/useTable.js b/rsf-design/src/hooks/core/useTable.js
index 953a980..7525702 100644
--- a/rsf-design/src/hooks/core/useTable.js
+++ b/rsf-design/src/hooks/core/useTable.js
@@ -186,7 +186,10 @@
}
return standardResponse
} catch (err) {
- if (err instanceof Error && err.message === '璇锋眰宸插彇娑�') {
+ if (
+ err instanceof Error &&
+ (err.message === '璇锋眰宸插彇娑�' || err.code === 'REQUEST_CANCELLED')
+ ) {
loadingState.value = 'idle'
return { records: [], total: 0, current: 1, size: 10 }
}
--
Gitblit v1.9.1