diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index 32ad552745..33808a1f30 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -136,13 +136,20 @@ min-width="180px" :field="item" :fields-width="fieldsWidth" + :show-overflow-tooltip=false :label="'API'+ $t('api_test.definition.api_path')"/> - + @@ -1264,6 +1271,17 @@ export default { } }); } + }, + getTagToolTips(tags) { + try { + let showTips = ""; + tags.forEach(item => { + showTips += item + ","; + }) + return showTips.substr(0, showTips.length - 1); + } catch (e) { + return ""; + } } }, }; @@ -1315,6 +1333,12 @@ export default { color: #6D317C; } +.oneLine { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + .ms-unexecute { } diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index f9d1a39f40..8515910f48 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -965,7 +965,7 @@ export default { tags.forEach( item => { showTips += item + ","; }) - return showTips; + return showTips.substr(0, showTips.length - 1); }catch (e){ return ""; }