From a084d5041282dfa55e9c843a3b2b9223d5c528b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=97=9C=E8=A1=80=E9=BE=99=E5=B8=85?= <1493694146@qq.com> Date: Tue, 25 Jul 2023 18:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes.ts | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/router/routes.ts b/src/router/routes.ts index 86bafe6..ce4f2b9 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -4,11 +4,11 @@ * path: '/path' // 路由路径 * name:'router-name' // 设定路由的名字,一定要填写不然使用时会出现各种问题 * meta : { - title: 'title' // 设置该路由在侧边栏的名字 - icon: 'icon-name' // 设置该路由的图标 - activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。 - query: '{"id": 1}' // 访问路由的默认传递参数 - hidden: true // 当设置 true 的时候该路由不会在侧边栏出现 + title: 'title' // 设置该路由在侧边栏的名字 + icon: 'icon-name' // 设置该路由的图标 + activeMenu: '/system/user' // 当路由设置了该属性,则会高亮相对应的侧边栏。 + query: '{"id": 1}' // 访问路由的默认传递参数 + hidden: true // 当设置 true 的时候该路由不会在侧边栏出现 hideTab: true //当设置 true 的时候该路由不会在多标签tab栏出现 } */ @@ -45,15 +45,7 @@ export const constantRoutes: Array = [ meta: { title: "个人设置", }, - }, - { - path: "examined", - component: () => import("@/views/examined/examinedFlow.vue"), - name: Symbol(), - meta: { - title: "个人设置", - }, - }, + } ], }, // {