Browse Source

完善问题

master
yunuo970428 2 years ago
parent
commit
1321500912
  1. 49
      supervise-message-ui/src/router/index.js

49
supervise-message-ui/src/router/index.js

@ -30,24 +30,39 @@ export const constantRoutes = [
component: () => import('@/views/Home/Home.vue'),
name: 'home'
}, {
path: '/index',
redirect: '/wdxx/index'
// component: Layout,
// redirect: '/index',
// children: [{
// path: '/index',
// component: () =>
// import('@/views/index.vue'),
// name: 'index',
// meta: {
// title: '主页',
// noCache: true,
// affix: true
// }
// }]
},
{
path: '/message',
component: Layout,
redirect: '/message',
meta: {
title: '消息管理'
},
children: [{
path: '/message/unreadmessage',
component: () => import('@/views/message/unreadmessage.vue'),
name: 'UnreadMessage',
meta: { title: '消息管理', noCache: true }
}]
},
// {
// path: '/index',
// redirect: '/wdxx/index'
//
// // component: Layout,
// // redirect: '/index',
// // children: [{
// // path: '/index',
// // component: () =>
// // import('@/views/index.vue'),
// // name: 'index',
// // meta: {
// // title: '主页',
// // noCache: true,
// // affix: true
// // }
// // }]
// },
...codemenu,
{
path: '/404',

Loading…
Cancel
Save