feat(admin): 新增题库、排行榜、实时结果和模板管理功能

- 添加题库管理页面及相关组件
- 实现排行榜管理功能,包括列表和详情页
- 新增实时结果展示页面
- 添加模板制作和管理功能
- 完善路由配置和国际化支持
- 新增阿里云OSS文件上传服务
- 添加多种工具函数和类型定义
- 优化表格和表单组件
- 调整布局和样式细节
This commit is contained in:
2026-01-22 17:55:45 +08:00
parent 697d606611
commit f1dacf7c66
25 changed files with 1001 additions and 945 deletions

View File

@ -165,7 +165,8 @@ export const useRouteStore = defineStore(SetupStoreId.Route, () => {
// 如果是静态路由模式,直接添加静态常量路由
if (authRouteMode.value === 'static') { // 静态路由模式
addConstantRoutes(staticRoute.constantRoutes)
}else {// 动态路由模式
}
else { // 动态路由模式
const { data, error } = await fetchGetConstantRoutes()
if (!error) {