You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

71 lines
2.1 KiB

import BasicLayout from '@/layouts/basic-layout'
const pre = 'collection_';
export default {
path: '/store/collection/',
name: 'capital',
header: 'capital',
meta: {
// 授权标识
auth: ['store-collection']
},
redirect: {
name: `${pre}merge`
},
component: BasicLayout,
children: [
{
path: '/store/collection/merge',
name: `${pre}merge`,
meta: {
title: '合成管理',
auth: ['store-collection-merge']
},
component: () => import('@/pages/collection/merge')
},
{
path: '/store/collection/list',
name: `${pre}`,
meta: {
title: '合成管理',
auth: ['store-collection-list']
},
component: () => import('@/pages/collection/list')
},
{
path: '/store/collection/mergeSave/:id',
name: `${pre}list`,
meta: {
title: '合成管理',
auth: ['store-collection-mergeSave']
},
component: () => import('@/pages/collection/mergeSave')
},
{
path: '/store/article/index',
name: `${pre}article`,
meta: {
title: '文章管理',
auth: ['store-article-index']
},
component: () => import('@/pages/article/index')
},
{
path: '/store/article/article_category',
name: `${pre}article_category`,
meta: {
title: '文章分类',
auth: ['store-article-article_category']
},
component: () => import('@/pages/article/article_category')
},
{
path: '/store/article/add_article/:id?',
name: `${pre}add_article`,
meta: {
title: '添加文章',
auth: ['store-article-add_article']
},
component: () => import('@/pages/article/add_article')
},
]
}