From baeed2e8d3a82f94e80d04ea47c95b122fcf93dd Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期二, 02 二月 2021 16:25:37 +0800 Subject: [PATCH] 修复角色管理-编辑角色-功能权限显示异常 --- ruoyi-ui/src/router/index.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 59238d9..3f14fd3 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -5,6 +5,7 @@ /* Layout */ import Layout from '@/layout' +import ParentView from '@/components/ParentView'; /** * Note: 路由配置项 @@ -17,9 +18,9 @@ * redirect: noRedirect // 当设置 noRedirect 的时候该路由在面包屑导航中不可被点击 * name:'router-name' // 设定路由的名字,一定要填写不然使用<keep-alive>时会出现各种问题 * meta : { - roles: ['admin','editor'] // 设置该路由进入的权限,支持多个权限叠加 + noCache: true // 如果设置为true,则不会被 <keep-alive> 缓存(默认 false) title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字 - icon: 'svg-name' // 设置该路由的图标,对应路径src/icons/svg + icon: 'svg-name' // 设置该路由的图标,对应路径src/assets/icons/svg breadcrumb: false // 如果设置为false,则不会在breadcrumb面包屑中显示 } */ -- Gitblit v1.9.2