From 7e007e68cff36f7b9da9807029c18f526b77c2cd Mon Sep 17 00:00:00 2001 From: yangsy Date: Wed, 26 Nov 2025 13:17:33 +0800 Subject: [PATCH] fix(user-client): no action when response 404 --- src/apis/client/user-client.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/apis/client/user-client.ts b/src/apis/client/user-client.ts index 8f20ed2..075d43b 100644 --- a/src/apis/client/user-client.ts +++ b/src/apis/client/user-client.ts @@ -28,9 +28,6 @@ export const userClient = new RequestClient({ userStore.resetStore(); router.push('/login'); } - if (err.response?.status === 404) { - router.push('/404'); - } return Promise.reject(error); }, });