From 9980a519c1375574398f57d9eb506047b1289157 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Tue, 30 Jul 2024 10:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Administrator.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/Administrator.vue b/src/views/Administrator.vue index 6b17a177..ac018c26 100644 --- a/src/views/Administrator.vue +++ b/src/views/Administrator.vue @@ -23,16 +23,16 @@ - {{menu.name}} + {{menu.name}} - +
- {{child.name}} + {{child.name}}
@@ -315,6 +315,12 @@ export default defineComponent({ font-family: Adobe Heiti Std; font-weight: normal; color: #808185; + white-space: nowrap; /* 禁止文本换行 */ + overflow: hidden; /* 溢出隐藏 */ + text-overflow: ellipsis; /* 文本溢出时显示省略号 */ + width: 100%; + display: block; + } .ant-menu-item-selected{ background: #F3F4F8;