feat: 初始化前端项目基础架构

- 添加路由配置和基础页面组件
- 配置环境变量和全局类型定义
- 实现Pinia状态管理和axios封装
- 添加基础布局组件和全局头部
- 配置Vite构建工具和开发环境
This commit is contained in:
2025-11-15 19:26:28 +08:00
parent e243175146
commit a98eae385f
21 changed files with 507 additions and 19 deletions

10
src/access/accessEnum.ts Normal file
View File

@@ -0,0 +1,10 @@
/**
* 权限定义
*/
const ACCESS_ENUM = {
NOT_LOGIN: "notLogin",
USER: "user",
ADMIN: "admin",
};
export default ACCESS_ENUM;