From 69ee68af462c98ba7260a96f78e0b2e92d5b2ec8 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 1 Jun 2022 10:54:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=88=87=E6=8D=A2=E6=97=B6?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E8=BF=87=E9=95=BF=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013702 --user=李玉号 【测试跟踪】测试计划名称过长 切换测试计划 名称长度显示不全 https://www.tapd.cn/55049933/s/1170964 --- .../components/track/common/SelectMenu.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/common/SelectMenu.vue b/frontend/src/business/components/track/common/SelectMenu.vue index e620bff62c..2c4eabe7b3 100644 --- a/frontend/src/business/components/track/common/SelectMenu.vue +++ b/frontend/src/business/components/track/common/SelectMenu.vue @@ -3,7 +3,9 @@ {{'[' + title + ']'}} - + + {{ item.name }} + @@ -56,4 +58,14 @@ margin-right: 10px; } + .span-name { + display: inline-block; + max-width: 300px; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + word-break: break-all; + margin-right: 5px; + } +