From 0c069a57ccb294b7fbffd6e9d43c7a7f93394da3 Mon Sep 17 00:00:00 2001
From: Live <1005297262@qq.com>
Date: 星期二, 09 六月 2020 11:37:39 +0800
Subject: [PATCH] 项目添加robots.txt 防止后台管理系统被搜索引擎收录

---
 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){
-      // 闃叉绌鸿矾鐢卞嚭鐜扮殑璀﹀憡锛岃缃粯璁ath
-      route.path = '/path';
-    }
     if (route.component) {
       // Layout缁勪欢鐗规畩澶勭悊
       if (route.component === 'Layout') {

--
Gitblit v1.9.3