chore dep: little mistake

This commit is contained in:
baorong
2026-02-19 21:43:23 +08:00
parent 4d1851ddd2
commit 2182759d47
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"@lingui/react": "^5.0.0",
"@rc-component/picker": "^1.9.0",
"antd": "^6.0.0",
"axios": "^2.1.0",
"axios": "^1.0.0",
"classnames": "^2.5.1",
"d3-shape": "^2.1.0",
"dayjs": "^1.11.10",
+1 -1
View File
@@ -64,7 +64,7 @@ export default function request(options) {
.catch(error => {
const { response, message: errMsg, code, name } = error
// axios v2 cancellation can surface as ERR_CANCELED / CanceledError or message matching our sentinel
// axios v1 cancellation can surface as ERR_CANCELED / CanceledError or message matching our sentinel
if (String(errMsg) === CANCEL_REQUEST_MESSAGE || code === 'ERR_CANCELED' || name === 'CanceledError') {
return {
success: false,