fix(user-client): no action when response 404

This commit is contained in:
yangsy
2025-11-26 13:17:33 +08:00
parent 0f578a43f0
commit 7e007e68cf

View File

@@ -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);
},
});