diff --git a/src/router/operation.js b/src/router/operation.js index 8662d07..b0f5598 100644 --- a/src/router/operation.js +++ b/src/router/operation.js @@ -51,26 +51,7 @@ export default [ icon: 'file-search', hide: false, component: resolve => require(['@/views/Operation/Announcement'], resolve), - redirect: '/Announcement/AnnouncementManage', meta: {title: '公告'}, - children: [ - { - path: '/Announcement/AnnouncementManage', - name: "AnnouncementManage", - title: "公告管理", - hide: false, - component: resolve => require(['@/views/Operation/Announcement/_announcementManage'], resolve), - meta: {title: '公告管理'}, - }, - { - path: '/Announcement/AnnouncementItem', - name: "AnnouncementItem", - title: "公告分类", - hide: false, - component: resolve => require(['@/views/Operation/Announcement/_announcementItem'], resolve), - meta: {title: '公告分类'}, - }, - ] }, { path: '/News', @@ -80,8 +61,24 @@ export default [ hide: false, component: resolve => require(['@/views/Operation/News'], resolve), redirect: '/News/', - meta: {title: '活动'}, - children: [ + meta: {title: '资讯'}, + children: [ + { + path: '/News/NewsManage', + name: "NewsManage", + title: "资讯管理", + hide: false, + component: resolve => require(['@/views/Operation/News/_newsManage'], resolve), + meta: {title: '资讯管理'}, + }, + { + path: '/News/NewsItem', + name: "NewsItem", + title: "资讯分类", + hide: false, + component: resolve => require(['@/views/Operation/News/_newsItem'], resolve), + meta: {title: '资讯分类'}, + }, ] }, { diff --git a/src/views/Operation/Announcement/index.vue b/src/views/Operation/Announcement/index.vue index b0561c2..3ec745f 100644 --- a/src/views/Operation/Announcement/index.vue +++ b/src/views/Operation/Announcement/index.vue @@ -1,5 +1,7 @@