feat: 登录接口对接

This commit is contained in:
duanshuwen
2025-12-21 22:31:16 +08:00
parent ef4280e05d
commit 2fb6a0d7e9
9 changed files with 148 additions and 57 deletions

10
global.d.ts vendored
View File

@@ -88,6 +88,16 @@ declare global {
type ThemeMode = 'dark' | 'light' | 'system';
// form 表单数据类型声明
interface LoginForm {
username: string;
password: string;
randomStr: string;
code: string;
grant_type: string;
scope: string;
}
// 弹窗类型定义
interface CreateDialogProps {
winId?: string;