From 1d42ad8fd052501107a4ef5ecb3249facb7d54d0 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期六, 09 四月 2022 01:10:21 +0800 Subject: [PATCH] login静态 --- src/router/router.js | 55 ++++++++++++++++++++++++++++--------------------------- 1 files changed, 28 insertions(+), 27 deletions(-) diff --git a/src/router/router.js b/src/router/router.js index 6a6f998..b705d9b 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -3,33 +3,34 @@ import jiuyeAndChuangye from "../pages/show/jiuyeAndChuangye/jiuyeAndChuangye"; import shehuiBaozhang from "../pages/show/shehuiBaozhang/shehuiBaozhang"; const indexRouter = { - path: '/', - name: 'index', - component: showHome, - redirect: '/index', - children: [ - { path: '/index', meta: { title: '澶у睆棣栭〉' }, name: 'index', component: () => import('@/pages/show/index/index.vue')}, - { path: '/jiuyeAndChuangye', - component: jiuyeAndChuangye, - redirect: '/workStatistics', - name: 'jiuyeAndChuangye', - children: [ - { path: '/workStatistics', meta: {title: '灏变笟鍒涗笟'}, name: 'workStatistics', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')}, - { path: '/chuangyeDanbaoDaikuan', meta: {title: '鍒涗笟鎷呬繚璐锋'}, name: 'chuangyeDanbaoDaikuan', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue')}, - { path: '/jiuyeQingkuang', meta: {title: '灏变笟鎯呭喌'}, name: 'jiuyeQingkuang', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue')}, - ] - }, - { - path: '/shehuiBaozhang', - component: shehuiBaozhang, - redirect: '/shehuiBaoxian', - name: 'shehuiBaozhang', - children: [ - { path: '/shehuiBaoxian', meta: {title:'绀句細淇濋殰'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')}, - { path: '/shebaoShouzhiZongbiao', meta: {title:'绀句繚鏀舵敮鎬昏〃'}, name: 'shebaoShouzhiZongbiao', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue')}, - ] - } - ] + path: '/', + name: 'index', + component: showHome, + redirect: '/index', + children: [ + { path: '/index', meta: { title: '澶у睆棣栭〉' }, name: 'index', component: () => import('@/pages/show/index/index.vue')}, + { path: '/jiuyeAndChuangye', + component: jiuyeAndChuangye, + redirect: '/workStatistics', + name: 'jiuyeAndChuangye', + children: [ + { path: '/workStatistics', meta: {title: '灏变笟鍒涗笟'}, name: 'workStatistics', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/workStatistics.vue')}, + { path: '/chuangyeDanbaoDaikuan', meta: {title: '鍒涗笟鎷呬繚璐锋'}, name: 'chuangyeDanbaoDaikuan', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/chuangyeDanbaoDaikuan.vue')}, + { path: '/jiuyeQingkuang', meta: {title: '灏变笟鎯呭喌'}, name: 'jiuyeQingkuang', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/jiuyeQingkuang.vue')}, + { path: '/biyeshengStatistics', meta: {title: '姣曚笟鐢熺粺璁�'}, name: 'biyeshengStatistics', component: () => import('@/pages/show/jiuyeAndChuangye/jiuyeChildren/biyeshengStatistics.vue')}, + ] + }, + { + path: '/shehuiBaozhang', + component: shehuiBaozhang, + redirect: '/shehuiBaoxian', + name: 'shehuiBaozhang', + children: [ + { path: '/shehuiBaoxian', meta: {title:'绀句細淇濋殰'}, name: 'shehuiBaoxian', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shehuiBaoxian.vue')}, + { path: '/shebaoShouzhiZongbiao', meta: {title:'绀句繚鏀舵敮鎬昏〃'}, name: 'shebaoShouzhiZongbiao', component: () => import('@/pages/show/shehuiBaozhang/shehuiBaozhangChildren/shebaoShouzhiZongbiao.vue')}, + ] + } + ] } const login = { path: '/login', -- Gitblit v1.9.1