From bcee29218364da52d9452803697b33a1067e7871 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 22 十二月 2023 12:01:35 +0800 Subject: [PATCH] 2023-12-22 --- src/router/index.js | 48 +----------------------------------------------- 1 files changed, 1 insertions(+), 47 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b66adb6..b130f82 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,56 +4,10 @@ import asyncLoadComponent from '@/utils/asyncLoadComponent' const Login = asyncLoadComponent(() => import('@/views/login')) -const Main = asyncLoadComponent(() => import('@/views/main')) -const Sso = asyncLoadComponent(() => import('@/views/sso')) -const Pay = asyncLoadComponent(() => import('@/views/pay')) -const MainParams = asyncLoadComponent(() => import('@/views/mainparams')) -const Design = asyncLoadComponent(() => import('@/views/design')) const NotFound = asyncComponent(() => import('@/views/404')) -const AppManage = asyncLoadComponent(() => import('@/views/appmanage')) -const AppCheck = asyncLoadComponent(() => import('@/views/appcheck')) -const PCDesign = asyncLoadComponent(() => import('@/views/pcdesign')) -const MobDesign = asyncLoadComponent(() => import('@/views/mobdesign')) -const ImDesign = asyncLoadComponent(() => import('@/views/imdesign')) -const MenuDesign = asyncLoadComponent(() => import('@/views/menudesign')) -const BaseDesign = asyncLoadComponent(() => import('@/views/basedesign')) -const TableDesign = asyncLoadComponent(() => import('@/views/tabledesign')) -const BillPrint = asyncLoadComponent(() => import('@/views/billprint')) -const PrintT = asyncLoadComponent(() => import('@/views/printTemplate')) -const Interface = asyncLoadComponent(() => import('@/views/interface')) -const RoleManage = asyncLoadComponent(() => import('@/views/rolemanage')) -const SystemFunc = asyncLoadComponent(() => import('@/views/systemfunc')) -const SystemProc = asyncLoadComponent(() => import('@/views/systemproc')) -const MkIframe = asyncLoadComponent(() => import('@/views/mkiframe')) const routers = [ - {path: '/login', name: 'login', component: Login}, - {path: '/main', name: 'main', component: Main}, - {path: '/pay/:param', name: 'pay', component: Pay}, - {path: '/print/:param', name: 'print', component: PrintT}, - {path: '/ssologin/:param', name: 'ssologin', component: Sso}, - {path: '/design', name: 'design', component: Design}, - {path: '/appmanage', name: 'appmanage', component: AppManage}, - {path: '/appcheck', name: 'appcheck', component: AppCheck}, - {path: '/pcdesign/:param', name: 'pcdesign', component: PCDesign}, - {path: '/mobdesign/:param', name: 'mobdesign', component: MobDesign}, - {path: '/imdesign/:param', name: 'imdesign', component: ImDesign}, - {path: '/menudesign/:param', name: 'menudesign', component: MenuDesign}, - {path: '/basedesign/:param', name: 'basedesign', component: BaseDesign}, - {path: '/tabledesign/:param', name: 'tabledesign', component: TableDesign}, - {path: '/billprint/:param', name: 'billprint', component: BillPrint}, - {path: '/docprint/:menuId', name: 'docprint', component: BillPrint}, - {path: '/docprint/:menuId/:id', name: 'docprint', component: BillPrint}, - {path: '/tab/:menuId', name: 'tab', component: MainParams}, - {path: '/role/:param', name: 'role', component: RoleManage}, - {path: '/hs', name: 'hs', component: SystemFunc}, - {path: '/proc', name: 'proc', component: SystemProc}, - {path: '/proc/:func', name: 'proc', component: SystemProc}, - {path: '/iframe/:menuId/:loginUid', name: 'iframe', component: MkIframe}, - {path: '/iframe/:menuId/:loginUid/:bid', name: 'iframe', component: MkIframe}, - {path: '/view/:menuId', name: 'iframe', component: MkIframe}, - {path: '/view/:menuId/:bid', name: 'iframe', component: MkIframe}, - {path: '/interface', name: 'interface', component: Interface} + {path: '/login', name: 'login', component: Login} ] export default class RouteConfig extends Component { -- Gitblit v1.8.0