From 7eb2e8285782e586659f896a3fdbeec7ecfcca8b Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123456 <zxx19900626> Date: 星期一, 18 四月 2022 11:37:29 +0800 Subject: [PATCH] 路由 --- src/router/router.js | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/router/router.js b/src/router/router.js index 8cb015b..469a16e 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -8,7 +8,7 @@ path: "/", name: "index", component: showHome, - redirect: "/index", + redirect: "/login", children: [ { path: "/index", @@ -24,7 +24,7 @@ children: [ { path: "/workStatistics", - meta: {title: "灏变笟鍒涗笟"}, + meta: {title: "灏变笟鍒涗笟", routerParent: "jiuyeAndChuangye"}, name: "workStatistics", component: () => import( @@ -33,7 +33,7 @@ }, { path: "/chuangyeDanbaoDaikuan", - meta: {title: "鍒涗笟鎷呬繚璐锋"}, + meta: {title: "鍒涗笟鎷呬繚璐锋", routerParent: "jiuyeAndChuangye"}, name: "chuangyeDanbaoDaikuan", component: () => import( @@ -42,7 +42,7 @@ }, { path: "/jiuyeQingkuang", - meta: {title: "灏变笟鎯呭喌"}, + meta: {title: "灏变笟鎯呭喌", routerParent: "jiuyeAndChuangye"}, name: "jiuyeQingkuang", component: () => import( @@ -51,7 +51,7 @@ }, { path: "/biyeshengStatistics", - meta: {title: "姣曚笟鐢熺粺璁�"}, + meta: {title: "姣曚笟鐢熺粺璁�", routerParent: "jiuyeAndChuangye"}, name: "biyeshengStatistics", component: () => import( @@ -60,7 +60,7 @@ }, { path: "/zhiyePeixun", - meta: {title: "鑱屼笟鍩硅"}, + meta: {title: "鑱屼笟鍩硅", routerParent: "jiuyeAndChuangye"}, name: "zhiyePeixun", component: () => import( @@ -77,7 +77,7 @@ children: [ { path: "/shehuiBaoxian", - meta: {title: "绀句細淇濋殰"}, + meta: {title: "绀句細淇濋殰", routerParent: "shehuiBaozhang"}, name: "shehuiBaoxian", component: () => import( @@ -86,7 +86,7 @@ }, { path: "/shebaoShouzhiZongbiao", - meta: {title: "绀句繚鏀舵敮鎬昏〃"}, + meta: {title: "绀句繚鏀舵敮鎬昏〃", routerParent: "shehuiBaozhang"}, name: "shebaoShouzhiZongbiao", component: () => import( @@ -95,7 +95,7 @@ }, { path: "/qiyezhigongShebao", - meta: {title: "浼佷笟鑱屽伐绀句繚"}, + meta: {title: "浼佷笟鑱屽伐绀句繚", routerParent: "shehuiBaozhang"}, name: "qiyezhigongShebao", component: () => import( @@ -104,7 +104,7 @@ }, { path: "/jiguanzhigongShebao", - meta: {title: "鏈哄叧鑱屽伐绀句繚"}, + meta: {title: "鏈哄叧鑱屽伐绀句繚", routerParent: "shehuiBaozhang"}, name: "jiguanzhigongShebao", component: () => import( @@ -113,7 +113,7 @@ }, { path: "/juminYanglaoBaoxian", - meta: {title: "灞呮皯鍏昏�佷繚闄�"}, + meta: {title: "灞呮皯鍏昏�佷繚闄�", routerParent: "shehuiBaozhang"}, name: "juminYanglaoBaoxian", component: () => import( @@ -122,7 +122,7 @@ }, { path: "/shiyeBaoxian", - meta: {title: "澶变笟淇濋櫓"}, + meta: {title: "澶变笟淇濋櫓", routerParent: "shehuiBaozhang"}, name: "shiyeBaoxian", component: () => import( @@ -131,7 +131,7 @@ }, { path: "/gongshangBaoxian", - meta: {title: "宸ヤ激淇濋櫓"}, + meta: {title: "宸ヤ激淇濋櫓", routerParent: "shehuiBaozhang"}, name: "gongshangBaoxian", component: () => import( @@ -140,7 +140,7 @@ }, { path: "/shebaoZhengjiShouru", - meta: {title: "绀句繚寰侀泦鏀跺叆鏄庣粏"}, + meta: {title: "绀句繚寰侀泦鏀跺叆鏄庣粏", routerParent: "shehuiBaozhang"}, name: "shebaoZhengjiShouru", component: () => import( @@ -149,7 +149,7 @@ }, { path: "/shebaoChikaRenshu", - meta: {title: "绀句繚鍗℃寔鍗′汉鏁�"}, + meta: {title: "绀句繚鍗℃寔鍗′汉鏁�", routerParent: "shehuiBaozhang"}, name: "shebaoChikaRenshu", component: () => import( -- Gitblit v1.9.1