| | |
| | | const Main = asyncLoadComponent(() => import('@/views/main')) |
| | | const Login = asyncLoadComponent(() => import('@/views/login')) |
| | | const NotFound = asyncComponent(() => import('@/views/404')) |
| | | const Mobile = asyncLoadComponent(() => import('@/views/mobile')) |
| | | const MobManage = asyncLoadComponent(() => import('@/views/mobmanage')) |
| | | const MobDesign = asyncLoadComponent(() => import('@/views/mobdesign')) |
| | | const PrintT = asyncLoadComponent(() => import('@/views/printTemplate')) |
| | | |
| | | const routers = [ |
| | |
| | | {path: '/print/:param', name: 'print', component: PrintT, auth: false}, |
| | | {path: '/ssologin/:param', name: 'ssologin', auth: true}, |
| | | {path: '/main', name: 'main', component: Main, auth: true}, |
| | | {path: '/mobile', name: 'mobile', component: Mobile, auth: true}, |
| | | {path: '/mobmanage', name: 'mobmanage', component: MobManage, auth: true}, |
| | | {path: '/mobdesign', name: 'mobdesign', component: MobDesign, auth: true}, |
| | | {path: '/main/:param', name: 'pmain', component: Main, auth: true} |
| | | ] |
| | | |