feat: page
This commit is contained in:
@@ -48,6 +48,81 @@ export const asyncRoutes = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/maomaotou',
|
||||
component: Layout,
|
||||
redirect: 'noRedirect',
|
||||
name: 'CxshMini',
|
||||
meta: { title: '猫猫头', icon: 'cat', permissions: ['admin'] },
|
||||
children: [
|
||||
{
|
||||
path: 'cat',
|
||||
component: EmptyLayout,
|
||||
alwaysShow: true,
|
||||
redirect: 'noRedirect',
|
||||
name: 'cat',
|
||||
meta: {
|
||||
title: '猫猫',
|
||||
icon: 'cat',
|
||||
permissions: ['admin'],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'cat',
|
||||
name: 'Cat',
|
||||
component: () => import('@/views/maomao/cat/cat/index'),
|
||||
meta: { title: '猫猫' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'post',
|
||||
component: EmptyLayout,
|
||||
alwaysShow: true,
|
||||
redirect: 'noRedirect',
|
||||
name: 'Post',
|
||||
meta: {
|
||||
title: '帖子',
|
||||
icon: 'post',
|
||||
permissions: ['admin'],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'post',
|
||||
name: 'Post',
|
||||
component: () => import('@/views/maomao/post/post/index'),
|
||||
meta: { title: '帖子' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: 'user',
|
||||
component: EmptyLayout,
|
||||
alwaysShow: true,
|
||||
redirect: 'noRedirect',
|
||||
name: 'User',
|
||||
meta: {
|
||||
title: '用户',
|
||||
icon: 'user',
|
||||
permissions: ['admin'],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'user',
|
||||
name: 'User',
|
||||
component: () => import('@/views/maomao/user/user/index'),
|
||||
meta: { title: '用户' },
|
||||
},
|
||||
{
|
||||
path: 'userChat',
|
||||
name: 'UserChat',
|
||||
component: () => import('@/views/maomao/user/chat/index'),
|
||||
meta: { title: '聊天' },
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/cxshMini',
|
||||
component: Layout,
|
||||
|
||||
Reference in New Issue
Block a user