From 2b04190ae5c3396c5ee4e3ca73b8546866d6e3a8 Mon Sep 17 00:00:00 2001 From: brooklin Date: Fri, 1 Sep 2023 11:49:31 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=B8=89=E8=A7=92=E6=8C=89=E9=92=AE=E4=BA=8B=E4=BB=B6=20(#1206?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/src/views/organization/index.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pages/src/views/organization/index.vue b/src/pages/src/views/organization/index.vue index 074ff9d3c..f8ef0d650 100644 --- a/src/pages/src/views/organization/index.vue +++ b/src/pages/src/views/organization/index.vue @@ -11,6 +11,7 @@ :node-content-action="['selected', 'expand', 'click', 'collapse']" :selected="selectedId" @node-click="changeNode" + @node-expand="changeNode" > diff --git a/src/pages/src/views/organization/details/UserInfo.vue b/src/pages/src/views/organization/details/UserInfo.vue index 45ae8c9fc..6b00bcf1a 100644 --- a/src/pages/src/views/organization/details/UserInfo.vue +++ b/src/pages/src/views/organization/details/UserInfo.vue @@ -1,7 +1,10 @@ @@ -93,13 +95,17 @@ const props = defineProps({ .details-content-value { display: flex; width: calc(100% - 100px); - overflow: hidden; font-size: 14px; color: #313238; - text-overflow: ellipsis; - white-space: nowrap; - vertical-align: top; flex-wrap: wrap; + + span { + display: inline-block; + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } } } diff --git a/src/pages/src/views/organization/index.vue b/src/pages/src/views/organization/index.vue index f8ef0d650..683834266 100644 --- a/src/pages/src/views/organization/index.vue +++ b/src/pages/src/views/organization/index.vue @@ -58,9 +58,9 @@
- - - {{ state.currentItem.name }} + + + {{ state.currentTenant.name }}
- + @@ -98,7 +103,7 @@