mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-15 22:06:50 +08:00
feat(router): 重新添加主页路由并更新侧边栏样式
- 在 app/index.js 中重新添加主页路由 - 在 generatedRouter/index.js 中添加主页路由的动态导入- 更新 Logo.vue 中的 logo 图片和样式 - 调整 Sidebar.vue 中的 logo 位置和样式
This commit is contained in:
@@ -1,7 +1,30 @@
|
||||
import layout from '@/views/app/layout/layout.vue'
|
||||
import redirect from '@/views/app/redirect/index.vue'
|
||||
const home = () => import('@/views/app/Home')
|
||||
|
||||
export default [
|
||||
{
|
||||
path: '/',
|
||||
component: layout,
|
||||
redirect: '/home',
|
||||
name: 'home',
|
||||
meta: {
|
||||
title: '主页',
|
||||
icon: 'el-icon-s-home',
|
||||
affix: true
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: '/home',
|
||||
name: 'home-page',
|
||||
component: home,
|
||||
meta: {
|
||||
title: '主页',
|
||||
icon: 'el-icon-s-home'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/knowledge',
|
||||
name: 'knowledge',
|
||||
|
||||
Reference in New Issue
Block a user