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

(cherry picked from commit dc400b506d)
This commit is contained in:
shaohuzhang1 2024-12-09 17:51:10 +08:00 committed by shaohuzhang1
parent 882d577450
commit a3a3dc95ad
3 changed files with 5 additions and 2 deletions

View File

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

View File

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

View File

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