fix: 修复前端路由警告 (#1795)

This commit is contained in:
shaohuzhang1 2024-12-09 17:51:10 +08:00 committed by GitHub
parent f65546a619
commit dc400b506d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,8 @@ const applicationRouter = {
children: [ children: [
{ {
path: '/application', path: '/application',
name: 'application', name: 'application-index',
meta: { title: '应用主页', activeMenu: '/application' },
component: () => import('@/views/application/index.vue') component: () => import('@/views/application/index.vue')
}, },
{ {

View File

@ -8,7 +8,8 @@ const datasetRouter = {
children: [ children: [
{ {
path: '/dataset', path: '/dataset',
name: 'dataset', name: 'dataset-index',
meta: { title: '知识库主页', activeMenu: '/dataset' },
component: () => import('@/views/dataset/index.vue') component: () => import('@/views/dataset/index.vue')
}, },
{ {

View File

@ -9,6 +9,7 @@ const functionLibRouter = {
{ {
path: '/function-lib', path: '/function-lib',
name: 'function-lib', name: 'function-lib',
meta: { title: '函数库主页', activeMenu: '/function-lib' },
component: () => import('@/views/function-lib/index.vue') component: () => import('@/views/function-lib/index.vue')
} }
] ]