From d3ac50881fa46bf3b0d2369398969bf9c1114cf5 Mon Sep 17 00:00:00 2001 From: kanfengyao Date: Thu, 25 Jul 2024 17:39:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=BF=AE=E6=94=B9=E5=A4=A7?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/router/route.js b/src/router/route.js index 24daa85..022bf98 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -12,7 +12,6 @@ * } */ - /** * 定义动态路由 * @description 未开启 isRequestRoutes 为 true 时使用(前端控制路由),开启时第一个顶级 children 的路由将被替换成接口请求回来的路由数据 @@ -58,7 +57,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-Bell', zh: '响应管理', }, children: [ @@ -67,14 +66,14 @@ export const dynamicRoutes = [ name: 'pending', component: () => import('/@/views/responseManagement/pending/index.vue'), meta: { - title: 'pending', + title: 'Pending', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'pending', }, }, @@ -83,14 +82,14 @@ export const dynamicRoutes = [ name: 'responding', component: () => import('/@/views/responseManagement/responding/index.vue'), meta: { - title: 'responding', + title: 'Responding', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'responding', }, }, @@ -99,14 +98,14 @@ export const dynamicRoutes = [ name: 'responded', component: () => import('/@/views/responseManagement/responded/index.vue'), meta: { - title: 'responded', + title: 'Responded', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'responded', }, }, @@ -115,14 +114,14 @@ export const dynamicRoutes = [ name: 'rejected', component: () => import('/@/views/responseManagement/rejected/index.vue'), meta: { - title: 'rejected', + title: 'Rejected', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'rejected', }, }, @@ -197,7 +196,7 @@ export const dynamicRoutes = [ name: 'role', component: () => import('/@/views/systemManagement/role/index.vue'), meta: { - title: 'role', + title: 'Role', isLink: '', isHide: false, isKeepAlive: true, @@ -212,7 +211,7 @@ export const dynamicRoutes = [ name: 'menu', component: () => import('/@/views/systemManagement/menu/index.vue'), meta: { - title: 'menu', + title: 'Menu', isLink: '', isHide: false, isKeepAlive: true,