From 98982515f7c63a99dbcc83b19f07e51481d6bf64 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期三, 05 八月 2020 11:39:09 +0800 Subject: [PATCH] !55 修复在线用户判断逻辑 Merge pull request !55 from 心悦李国楠/dev-心悦 --- ruoyi-ui/src/store/modules/permission.js | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index bfd5988..deed451 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -32,10 +32,6 @@ // 遍历后台传来的路由字符串,转换为组件对象 function filterAsyncRouter(asyncRouterMap) { return asyncRouterMap.filter(route => { - if(!route.path){ - // 防止空路由出现的警告,设置默认path - route.path = '/path'; - } if (route.component) { // Layout组件特殊处理 if (route.component === 'Layout') { -- Gitblit v1.9.2