bibi 3 years ago
parent a50096a106
commit c123e77767

@ -51,26 +51,7 @@ export default [
icon: 'file-search', icon: 'file-search',
hide: false, hide: false,
component: resolve => require(['@/views/Operation/Announcement'], resolve), component: resolve => require(['@/views/Operation/Announcement'], resolve),
redirect: '/Announcement/AnnouncementManage',
meta: {title: '公告'}, 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', path: '/News',
@ -80,8 +61,24 @@ export default [
hide: false, hide: false,
component: resolve => require(['@/views/Operation/News'], resolve), component: resolve => require(['@/views/Operation/News'], resolve),
redirect: '/News/', redirect: '/News/',
meta: {title: '活动'}, meta: {title: '资讯'},
children: [ 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: '资讯分类'},
},
] ]
}, },
{ {

@ -1,5 +1,7 @@
<template> <template>
<router-view></router-view> <div>
</div>
</template> </template>
<script> <script>

@ -1,5 +1,7 @@
<template> <template>
<div></div> <div>
</div>
</template> </template>
<script> <script>

@ -1,5 +1,7 @@
<template> <template>
<div></div> <div>
</div>
</template> </template>
<script> <script>
Loading…
Cancel
Save