feat(dashboard): 新增比赛管理仪表盘功能

添加比赛管理仪表盘页面,包含比赛卡片列表、状态标签和新增功能
移除旧的mine页面和相关路由配置
强制设置i18n语言为中文并更新系统标题
更新VSCode设置中的typescript格式化工具
This commit is contained in:
2026-01-16 16:47:50 +08:00
parent 1e510efe8e
commit b7ec446f19
15 changed files with 280 additions and 90 deletions

View File

@ -20,6 +20,6 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
500: () => import("@/views/_builtin/500/index.vue"),
"iframe-page": () => import("@/views/_builtin/iframe-page/[url].vue"),
login: () => import("@/views/_builtin/login/index.vue"),
dashboard: () => import("@/views/dashboard/index.vue"),
home: () => import("@/views/home/index.vue"),
mine: () => import("@/views/mine/index.vue"),
};

View File

@ -39,6 +39,15 @@ export const generatedRoutes: GeneratedRoute[] = [
hideInMenu: true
}
},
{
name: 'dashboard',
path: '/dashboard',
component: 'layout.base$view.dashboard',
meta: {
title: 'dashboard',
i18nKey: 'route.dashboard'
}
},
{
name: 'home',
path: '/home',
@ -74,14 +83,5 @@ export const generatedRoutes: GeneratedRoute[] = [
constant: true,
hideInMenu: true
}
},
{
name: 'mine',
path: '/mine',
component: 'layout.base$view.mine',
meta: {
title: 'mine',
i18nKey: 'route.mine'
}
}
];

View File

@ -166,10 +166,10 @@ const routeMap: RouteMap = {
"403": "/403",
"404": "/404",
"500": "/500",
"dashboard": "/dashboard",
"home": "/home",
"iframe-page": "/iframe-page/:url",
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?",
"mine": "/mine"
"login": "/login/:module(pwd-login|code-login|register|reset-pwd|bind-wechat)?"
};
/**