添加组件,配置路由
This commit is contained in:
parent
93092f4975
commit
c4efa5f8a2
1
src/manager/components/Authority.vue
Normal file
1
src/manager/components/Authority.vue
Normal file
@ -0,0 +1 @@
|
||||
<template></template>
|
3
src/manager/components/Carousel.vue
Normal file
3
src/manager/components/Carousel.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/Daily.vue
Normal file
3
src/manager/components/Daily.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/Log.vue
Normal file
3
src/manager/components/Log.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
1
src/manager/components/Main.vue
Normal file
1
src/manager/components/Main.vue
Normal file
@ -0,0 +1 @@
|
||||
<template></template>
|
3
src/manager/components/Message.vue
Normal file
3
src/manager/components/Message.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/NewsDisplay.vue
Normal file
3
src/manager/components/NewsDisplay.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/NewsInformation.vue
Normal file
3
src/manager/components/NewsInformation.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
1
src/manager/components/ProjectInformation.vue
Normal file
1
src/manager/components/ProjectInformation.vue
Normal file
@ -0,0 +1 @@
|
||||
<template></template>
|
0
src/manager/components/ProjectRecommend.vue
Normal file
0
src/manager/components/ProjectRecommend.vue
Normal file
3
src/manager/components/Role.vue
Normal file
3
src/manager/components/Role.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/TeamInformation.vue
Normal file
3
src/manager/components/TeamInformation.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/TeamProfile.vue
Normal file
3
src/manager/components/TeamProfile.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/User.vue
Normal file
3
src/manager/components/User.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
3
src/manager/components/UserRecommend.vue
Normal file
3
src/manager/components/UserRecommend.vue
Normal file
@ -0,0 +1,3 @@
|
||||
<template>
|
||||
|
||||
</template>
|
@ -32,6 +32,7 @@ function getItem(label, key, icon, children, type) {
|
||||
};
|
||||
}
|
||||
const items = reactive([
|
||||
getItem('首页', 'sub1'),
|
||||
getItem('系统管理', 'sub1', () => h(MailOutlined), [
|
||||
getItem('用户管理', '1'),
|
||||
getItem('角色管理', '2'),
|
||||
|
@ -11,8 +11,70 @@ const router = createRouter({
|
||||
{
|
||||
path:'/manage',
|
||||
name:'manage',
|
||||
component:()=>import('../manager/manage.vue')
|
||||
}
|
||||
component:()=>import('../manager/manage.vue'),
|
||||
children:[
|
||||
{
|
||||
path:'/manage/authority',
|
||||
component:()=>import('../manager/components/Authority.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/carousel',
|
||||
component:()=>import('../manager/components/Carousel.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/daily',
|
||||
component:()=>import('../manager/components/Daily.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/log',
|
||||
component:()=>import('../manager/components/Log.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/main',
|
||||
component:()=>import('../manager/components/Main.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/message',
|
||||
component:()=>import('../manager/components/Message.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/newsdisplay',
|
||||
component:()=>import('../manager/components/NewsDisplay.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/newsinformation',
|
||||
component:()=>import('../manager/components/NewsInformation.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/projectinformation',
|
||||
component:()=>import('../manager/components/ProjectInformation.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/projectrecommend',
|
||||
component:()=>import('../manager/components/ProjectRecommend.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/role',
|
||||
component:()=>import('../manager/components/Role.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/teaminformation',
|
||||
component:()=>import('../manager/components/TeamInformation.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/teamprofile',
|
||||
component:()=>import('../manager/components/TeamProfile.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/user',
|
||||
component:()=>import('../manager/components/User.vue'),
|
||||
},
|
||||
{
|
||||
path:'/manage/userrecommend',
|
||||
component:()=>import('../manager/components/UserRecommend.vue'),
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
})
|
||||
|
||||
|
BIN
src/views/images/img1.jpg
Normal file
BIN
src/views/images/img1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 489 KiB |
Loading…
x
Reference in New Issue
Block a user