chore: only ce can jump to login

This commit is contained in:
Joel
2026-05-26 18:33:19 +08:00
parent 323b2b82e0
commit 20ec074924
+1 -1
View File
@@ -787,7 +787,7 @@ export const request = async<T>(url: string, options = {}, otherOptions?: IOther
isPublicAPI = false,
silent,
} = otherOptionsForBaseFetch
if (isPublicAPI && code === 'unauthorized') {
if (isPublicAPI && code === 'unauthorized' && IS_CE_EDITION) {
requiredWebSSOLogin()
return Promise.reject(err)
}