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;