refactor: 重构项目结构 - enums/config/types/plugins

- 重构 enums: 按业务域合并为 5 个文件
- 创建 config: storage.ts, vxe-table.ts
- 删除 plugins,功能迁移到 main.ts
- 创建完整 types 结构
- 新增 utils: validators, websocket, register-components
- 创建 router/guards/permission.ts
- 更新配置文件
This commit is contained in:
Ray.Hao
2025-12-12 13:59:40 +08:00
parent add4237b1f
commit 9fb1942619
45 changed files with 836 additions and 834 deletions

View File

@@ -1,15 +1,12 @@
export * from "./api/code-enum";
/**
* 枚举统一导出
*
* @description
* 按业务域分组的枚举定义
*/
export * from "./codegen/form-enum";
export * from "./codegen/query-enum";
export * from "./settings/layout-enum";
export * from "./settings/theme-enum";
export * from "./settings/locale-enum";
export * from "./settings/device-enum";
export * from "./common/dialog-enum";
export * from "./common/status-enum";
export * from "./system/menu-enum";
export * from "./system/user-enum";
export * from "./api";
export * from "./business";
export * from "./codegen";
export * from "./common";
export * from "./settings";