From 4cf3786f48f0f42adc7ecf9352ddfc7df038f5bc Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 01 Jun 2020 10:46:30 +0800
Subject: [PATCH] 升级fastjson到最新版1.2.70 修复高危安全漏洞
---
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