From 3ab03bf0e7809b9c0b5fc07b4644412086bc9249 Mon Sep 17 00:00:00 2001 From: Michelle.Chung <1242874891@qq.com> Date: 星期四, 23 二月 2023 20:31:57 +0800 Subject: [PATCH] fix 修正创建租户失败时未关闭忽略租户问题 ; --- ruoyi-ui/src/layout/components/Sidebar/Item.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/layout/components/Sidebar/Item.vue b/ruoyi-ui/src/layout/components/Sidebar/Item.vue index b515f61..be3285d 100644 --- a/ruoyi-ui/src/layout/components/Sidebar/Item.vue +++ b/ruoyi-ui/src/layout/components/Sidebar/Item.vue @@ -21,7 +21,11 @@ } if (title) { - vnodes.push(<span slot='title'>{(title)}</span>) + if (title.length > 5) { + vnodes.push(<span slot='title' title={(title)}>{(title)}</span>) + } else { + vnodes.push(<span slot='title'>{(title)}</span>) + } } return vnodes } -- Gitblit v1.9.3