refactor(frontend): 重构前端第二版
This commit is contained in:
1 parent
2631f78b00
commit
4b562cfa82
205 files changed
+15399
-12015
No files matched your search
@@ -1,17 +1,17 @@
|
||||
/**
|
||||
/**
|
||||
* features/auth/composables/useLoginAuth.ts
|
||||
* 登录表单、企微/Casdoor OAuth 回调、注册与找回密码逻辑。
|
||||
*/
|
||||
import { ref } from 'vue';
|
||||
import { config } from '@/config';
|
||||
import { resolveCasdoorErrorMessage } from '@/utils/casdoor';
|
||||
import { resolveCasdoorErrorMessage } from '@/shared/utils/casdoor';
|
||||
import {
|
||||
buildWecomLoginDialogContent,
|
||||
normalizeWecomMatchRules,
|
||||
type WecomMatchField,
|
||||
} from '@/utils/wecom';
|
||||
import { saveAuthUser } from '@/utils/auth';
|
||||
import { BusinessError, requestJson } from '@/api/client';
|
||||
} from '@/shared/utils/wecom';
|
||||
import { saveAuthUser } from '@/shared/utils/auth';
|
||||
import { BusinessError, requestJson } from '@/shared/api/client';
|
||||
import { DEFAULT_POST_LOGIN_AGENT_ID } from '@/features/workspace/types/workspace.types';
|
||||
import type { WecomBindPromptState, WecomLoginDialogContent } from '@/features/workspace/types/workspace.types';
|
||||
import type { LoginDeps } from './login.deps';
|
||||
|
||||
Reference in new issue
Block a user