| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /**
- * News 插件路由配置
- * 新闻管理系统
- *
- * @author SixShop Team
- * @version 1.0.0
- */
- export default {
- path: '/news',
- name: 'News',
- component: () => import('@/layout/index.vue'),
- meta: {
- title: '新闻管理',
- icon: 'Document',
- plugin: 'news',
- priority: 30,
- version: '1.0.0',
- author: 'SixShop Team',
- description: '新闻资讯管理系统'
- },
- children: [
- {
- path: '',
- name: 'NewsIndex',
- component: () => import('./index.vue'),
- meta: {
- title: '新闻管理',
- icon: 'Document'
- }
- },
- {
- path: 'article/create',
- name: 'NewsArticleCreate',
- component: () => import('./components/article/ArticleEdit.vue'),
- meta: {
- title: '新增文章',
- hidden: true
- }
- },
- {
- path: 'article/edit/:id',
- name: 'NewsArticleEdit',
- component: () => import('./components/article/ArticleEdit.vue'),
- meta: {
- title: '编辑文章',
- hidden: true
- }
- }
- ]
- }
|