fix
This commit is contained in:
@@ -42,14 +42,6 @@ export const ojs: RouteRecordRaw = {
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
name: "contest problems",
|
name: "contest problems",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "problem/:problemID",
|
|
||||||
component: () => import("oj/problem/detail.vue"),
|
|
||||||
props: true,
|
|
||||||
name: "contest problem",
|
|
||||||
meta: { requiresAuth: true },
|
|
||||||
beforeEnter: loadChart,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: "submission",
|
path: "submission",
|
||||||
component: () => import("oj/submission/list.vue"),
|
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",
|
path: "rank",
|
||||||
component: () => import("oj/rank/list.vue"),
|
component: () => import("oj/rank/list.vue"),
|
||||||
|
|||||||
Reference in New Issue
Block a user