提交代码
This commit is contained in:
@@ -35,6 +35,18 @@ const router = createRouter({
|
||||
component: () => import('@/views/ResultView.vue'),
|
||||
meta: { title: '检测完成' },
|
||||
},
|
||||
{
|
||||
path: '/history',
|
||||
name: 'history',
|
||||
component: () => import('@/views/HistoryView.vue'),
|
||||
meta: { title: '检测历史', requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: '/history/:scanId',
|
||||
name: 'historyDetail',
|
||||
component: () => import('@/views/ResultView.vue'),
|
||||
meta: { title: '历史检测详情', requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: '/pay',
|
||||
redirect: { name: 'sample' },
|
||||
|
||||
Reference in New Issue
Block a user