diff --git a/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue index 96d86d5260..133448b850 100644 --- a/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue @@ -55,10 +55,21 @@ - + { + showTips += item + ','; + }); + return showTips.substr(0, showTips.length - 1); + } catch (e) { + return ''; + } + }, filterSearch() { this.currentPage = 1; this.search(); @@ -313,4 +335,10 @@ export default { margin-top: 15px; margin-right: 10px; } + +.oneLine { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} diff --git a/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue index cc7e394bc9..d53451ab81 100644 --- a/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue @@ -96,11 +96,21 @@ -