From e846eefa54a7a2274a34d43d4601e192a1ada3d9 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 25 六月 2022 13:16:07 +0800
Subject: [PATCH] 1.项目整体样式的配置2.实现工艺设置动态添加的静态样式

---
 src/layout/components/Sidebar/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index aaf7bb1..33acb9b 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -58,6 +58,7 @@
       'sidebar'
     ]),
     routes() {
+      // 鎺ュ彛涓殑杩斿洖鍊� 杩涜鏍煎紡鍖�
       const newCodeArr = []
       const newCodeNameArr = []
       this.routers.forEach(item => {
@@ -74,6 +75,8 @@
           }
         }
       })
+
+      // 鏈湴璺敱涓� 鎺ュ彛涓殑杩斿洖鍊艰繘琛屽尮閰嶏紝鏈夌浉鍚宑ode鐨勫�艰繘琛宲ush
       const arr = this.$router.options.routes
       const arr2 = []
       arr.forEach((item, index) => {
@@ -100,6 +103,7 @@
           arr2.push(item)
         }
       })
+
       return arr2
       // return arr
     },

--
Gitblit v1.9.3