add user/setting page.

This commit is contained in:
2023-02-13 20:55:36 +08:00
parent 1162e51499
commit b5e1b3db3a
5 changed files with 47 additions and 25 deletions

View File

@@ -71,6 +71,16 @@ export const routes: RouteRecordRaw[] = [
component: () => import("oj/rank/list.vue"),
beforeEnter: loadChart,
},
{
path: "user",
component: () => import("oj/user/index.vue"),
meta: { requiresAuth: true },
},
{
path: "setting",
component: () => import("oj/user/setting.vue"),
meta: { requiresAuth: true },
},
{
path: "learn",
redirect: "learn/step-1",