From e6fbdbd3225c5d66b846288ff52f4aa6d9e6a316 Mon Sep 17 00:00:00 2001
From: hxr <1490493387@qq.com>
Date: Sun, 22 Oct 2023 23:55:20 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E6=8A=98=E5=8F=A0/=E6=89=93?=
=?UTF-8?q?=E5=BC=80=E4=BE=A7=E8=BE=B9=E6=A0=8F=E8=8F=9C=E5=8D=95=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Former-commit-id: 451a2f4b1f7300ab48cd049ceb362b53ea96692b
---
src/components/Hamburger/index.vue | 3 +-
src/layout/components/Sidebar/Item.vue | 28 +++++++------------
src/layout/components/Sidebar/Link.vue | 1 -
src/layout/components/Sidebar/SidebarItem.vue | 2 +-
src/styles/sidebar.scss | 13 +++++++++
5 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue
index a092d4f7..a9049d70 100644
--- a/src/components/Hamburger/index.vue
+++ b/src/components/Hamburger/index.vue
@@ -30,9 +30,10 @@ function toggleClick() {
.hamburger {
vertical-align: middle;
cursor: pointer;
+ transform: scaleX(-1);
}
.hamburger.is-active {
- transform: rotate(180deg);
+ transform: scaleX(1);
}
diff --git a/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue
index f4fb60ec..c25a033c 100644
--- a/src/layout/components/Sidebar/Item.vue
+++ b/src/layout/components/Sidebar/Item.vue
@@ -1,3 +1,13 @@
+
+
+
+ {{ translateRouteTitle(title) }}
+
+
-
-
-
-