This commit is contained in:
2025-05-10 20:07:09 +08:00
parent a686510211
commit 734fc7d083

View File

@@ -42,14 +42,6 @@ export const ojs: RouteRecordRaw = {
meta: { requiresAuth: true },
name: "contest problems",
},
{
path: "problem/:problemID",
component: () => import("oj/problem/detail.vue"),
props: true,
name: "contest problem",
meta: { requiresAuth: true },
beforeEnter: loadChart,
},
{
path: "submission",
component: () => import("oj/submission/list.vue"),
@@ -65,6 +57,14 @@ export const ojs: RouteRecordRaw = {
},
],
},
{
path: "contest/:contestID/problem/:problemID",
component: () => import("oj/problem/detail.vue"),
props: true,
name: "contest problem",
meta: { requiresAuth: true },
beforeEnter: loadChart,
},
{
path: "rank",
component: () => import("oj/rank/list.vue"),