| | |
| | | // '0'代表false,'1'代表true |
| | | const routes = [ |
| | | { |
| | | path: '/redirect', |
| | | component: 'Layout', |
| | | hidden: '1', |
| | | children: [ |
| | | { |
| | | path: '/redirect/:path(.*)', |
| | | component: '/redirect/index' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/', |
| | | component: 'Layout', |
| | | redirect: '/index', |
| | |
| | | component: '/xtsy/index', |
| | | meta: { title: '系统首页', icon: 'el-icon-house', affix: '1' } |
| | | }] |
| | | }, |
| | | { |
| | | path: '/redirect', |
| | | component: 'Layout', |
| | | hidden: '1', |
| | | children: [ |
| | | { |
| | | path: '/redirect/:path(.*)', |
| | | component: '/redirect/index' |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/jcsz', |
| | |
| | | name: 'wldw', |
| | | component: '/jcsz/wldw', |
| | | meta: { title: '往来单位', icon: '' } |
| | | }, |
| | | } |
| | | ] |
| | | }, |
| | | { |