From c2495545a5d32812d53e2c631ad64d3c618152ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B4=AA=E8=8E=B9?= <565644124@qq.com> Date: Thu, 28 Feb 2019 13:22:49 +0800 Subject: [PATCH] perf[Sidebar]: optimize code logic (#1349) --- .../layout/components/Sidebar/SidebarItem.vue | 33 +++++++------------ 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/src/views/layout/components/Sidebar/SidebarItem.vue b/src/views/layout/components/Sidebar/SidebarItem.vue index 9a555f4b..94275aa8 100644 --- a/src/views/layout/components/Sidebar/SidebarItem.vue +++ b/src/views/layout/components/Sidebar/SidebarItem.vue @@ -1,36 +1,25 @@