Files
integral-shop/backend-adminend/src/router/modules/content.js

55 lines
1.6 KiB
JavaScript
Raw Normal View History

// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import Layout from '@/layout';
const contentRouter = {
path: '/content',
component: Layout,
redirect: '/content/articleManager',
name: 'content',
meta: {
title: '内容',
icon: 'clipboard',
},
children: [
{
path: 'articleManager',
name: 'articleManager',
component: () => import('@/views/content/article/list'),
meta: {
title: '文章管理',
icon: 'clipboard',
},
},
{
path: 'articleCreat/:id?',
name: 'articleCreat',
component: () => import('@/views/content/article/edit'),
meta: {
title: '添加文章',
noCache: true,
activeMenu: `/content/articleManager`,
},
},
{
path: 'classifManager',
name: 'classifManager',
component: () => import('@/views/content/articleclass/list'),
meta: {
title: '文章分类',
icon: 'clipboard',
},
},
],
};
export default contentRouter;