From 4469cf93433290218fef3b7a46c9e99421c8b54a Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Tue, 24 May 2022 11:44:11 +0800 Subject: [PATCH] update side bar --- src/layout/components/SideBar.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/layout/components/SideBar.vue b/src/layout/components/SideBar.vue index 278f8172..34ad6852 100644 --- a/src/layout/components/SideBar.vue +++ b/src/layout/components/SideBar.vue @@ -41,7 +41,7 @@ limitations under the License. --> - + {{ t(menu.meta.title) }} @@ -57,7 +57,7 @@ limitations under the License. --> :to="m.path" :exact="m.meta.exact || false" > - {{ t(m.meta.title) }} + {{ t(m.meta.title) }} @@ -82,7 +82,7 @@ limitations under the License. --> :to="menu.children[0].path" :exact="menu.meta.exact" > - {{ t(menu.meta.title) }} + {{ t(menu.meta.title) }} @@ -208,4 +208,11 @@ span.collapse { width: 100%; height: 60px; } + +.title { + display: inline-block; + max-width: 110px; + text-overflow: ellipsis; + overflow: hidden; +}