升级
This commit is contained in:
@@ -11,6 +11,12 @@ const router = createRouter({
|
||||
component: () => import('../views/LoginView.vue'),
|
||||
meta: { public: true },
|
||||
},
|
||||
{
|
||||
path: '/timetable',
|
||||
name: 'public-timetable',
|
||||
component: () => import('../views/TimetableView.vue'),
|
||||
meta: { public: true },
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
component: AdminLayout,
|
||||
@@ -114,6 +120,17 @@ const router = createRouter({
|
||||
component: () => import('../views/SchedulesView.vue'),
|
||||
meta: { roles: ['SuperAdmin', 'AcademicAdmin'] },
|
||||
},
|
||||
{
|
||||
path: 'class-timetable',
|
||||
name: 'class-timetable',
|
||||
component: () => import('../views/TimetableView.vue'),
|
||||
},
|
||||
{
|
||||
path: 'my-timetable',
|
||||
name: 'my-timetable',
|
||||
component: () => import('../views/TimetableView.vue'),
|
||||
meta: { roles: ['Student'], mine: true },
|
||||
},
|
||||
{
|
||||
path: 'course-selections',
|
||||
name: 'course-selections',
|
||||
|
||||
Reference in New Issue
Block a user