refactor(backend): 重构后端
This commit is contained in:
1 parent
c8054476c1
commit
bba6e6f221
32 files changed
+252
-296
No files matched your search
@@ -351,7 +351,11 @@ export function useLoginAuth(deps: LoginDeps, options: LoginAuthOptions) {
|
||||
msg.error(friendly);
|
||||
sessionStorage.removeItem('hxops_wecom_state');
|
||||
if (errorCode === 'WECOM_BIND_INPUT_REQUIRED') {
|
||||
openWecomBindPrompt({ error: rawError, error_code: errorCode });
|
||||
openWecomBindPrompt({
|
||||
error: rawError,
|
||||
error_code: errorCode,
|
||||
...(err instanceof BusinessError ? err.details : {}),
|
||||
});
|
||||
} else {
|
||||
openWecomLoginDialog({ error: rawError || t('login.wecomLoginFailed'), error_code: errorCode });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user