导航调整

This commit is contained in:
hooray
2022-06-24 00:26:43 +08:00
parent dd530fa5f8
commit 4a306a47b8
4 changed files with 52 additions and 58 deletions
@@ -1,8 +0,0 @@
export default [
{
path: 'https://www.vform666.com',
meta: {
title: 'VForm 低代码表单'
}
}
]
+52 -6
View File
@@ -1,14 +1,60 @@
const Layout = () => import('@/layout/index.vue')
export default [
{
path: 'https://hooray.gitee.io/fantastic-startkit/',
path: '/official',
meta: {
title: 'Fantastic-startkit 项目启动套件'
}
title: '官方周边',
icon: 'ep:grid'
},
children: [
{
path: 'https://hooray.gitee.io/fantastic-startkit/',
meta: {
title: 'Fantastic-startkit 项目启动套件'
}
},
{
path: 'https://hooray.gitee.io/one-step-admin/',
meta: {
title: 'One-step-admin 干啥都快人一步的中后台框架'
}
}
]
},
{
path: 'https://hooray.gitee.io/one-step-admin/',
path: '/plugin',
meta: {
title: 'One-step-admin 干啥都快人一步的中后台框架'
}
title: '战略合作',
icon: 'sidebar-cooperation'
},
children: [
{
path: 'https://www.vform666.com',
meta: {
title: 'VForm 低代码表单'
}
}
]
},
{
path: '/videos/coming/soon',
component: Layout,
meta: {
title: '视频教程',
icon: 'sidebar-videos'
},
children: [
{
path: '',
name: 'videosComingSoon',
component: () => import('@/views/videos_example/coming.soon.vue'),
meta: {
title: '视频教程',
sidebar: false,
breadcrumb: false
}
}
]
}
]
-24
View File
@@ -1,24 +0,0 @@
const Layout = () => import('@/layout/index.vue')
export default [
{
path: '/videos_example/coming/soon',
component: Layout,
meta: {
title: '即将推出'
},
children: [
{
path: '',
name: 'videosExampleVideoComingSoon',
component: () => import('@/views/videos_example/coming.soon.vue'),
meta: {
title: '即将推出',
sidebar: false,
breadcrumb: false,
activeMenu: '/videos_example/coming/soon'
}
}
]
}
]
-20
View File
@@ -110,9 +110,7 @@ import PermissionExample from './modules/permission.example'
import MockExample from './modules/mock.example'
import JsxExample from './modules/jsx.example'
import ExternalLinkExample from './modules/external.link.example'
// import VideosExample from './modules/videos.example'
import EcologyExample from './modules/ecology.example'
import CooperationExample from './modules/cooperation.example'
// 动态路由(异步路由、导航栏路由)
let asyncRoutes = [
@@ -133,15 +131,6 @@ let asyncRoutes = [
ExternalLinkExample
]
},
// {
// meta: {
// title: '教程',
// icon: 'sidebar-videos'
// },
// children: [
// ...VideosExample
// ]
// },
{
meta: {
title: '生态',
@@ -150,15 +139,6 @@ let asyncRoutes = [
children: [
...EcologyExample
]
},
{
meta: {
title: '战略合作',
icon: 'sidebar-cooperation'
},
children: [
...CooperationExample
]
}
]