From 7bf40583a796e82b56a7e22665ac8176ff230d68 Mon Sep 17 00:00:00 2001
From: hooray <304327508@qq.com>
Date: Wed, 29 Sep 2021 09:42:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BE=A7=E8=BE=B9=E6=A0=8F?=
=?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/SidebarItem/index.vue | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/src/layout/components/SidebarItem/index.vue b/src/layout/components/SidebarItem/index.vue
index d70f159b..858155db 100644
--- a/src/layout/components/SidebarItem/index.vue
+++ b/src/layout/components/SidebarItem/index.vue
@@ -10,15 +10,14 @@
-
+
{{ item.meta.title }}
-
-
+
{{ item.meta.title }}
@@ -65,13 +64,6 @@ function resolvePath(routePath) {
}
return props.basePath ? path.resolve(props.basePath, routePath) : routePath
}
-function iconName(isActive, icon) {
- let name = ''
- if (!isActive && icon) {
- name = icon
- }
- return name
-}