refactor: 删除 constants 目录,直接使用源路径

- 删除 src/constants/ 目录(仅为转发代理)
- 更新 8 个文件的导入路径:
  * STORAGE_KEYS  @/config/storage
  * VALIDATORS  @/utils/validators
  * ROLE_ROOT  @/enums
- 修复旧的枚举路径(settings/device-enum 等)
This commit is contained in:
Ray.Hao
2025-12-12 14:04:35 +08:00
parent 23b52872c5
commit 715d70127d
9 changed files with 12 additions and 25 deletions

View File

@@ -257,7 +257,7 @@ import type { UserForm, UserPageQuery, UserPageVO } from "@/api/system/user";
// ==================== 3.5 工具函数 ====================
import { downloadFile } from "@/utils";
import { VALIDATORS } from "@/constants";
import { VALIDATORS } from "@/utils/validators";
// ==================== 4. API 服务 ====================
import UserAPI from "@/api/system/user";
import DeptAPI from "@/api/system/dept";