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 a09a8448f1..99d4516592 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -134,13 +134,20 @@ min-width="180px" :field="item" :fields-width="fieldsWidth" + :show-overflow-tooltip=false :label="'API'+ $t('api_test.definition.api_path')"/> - + @@ -1255,6 +1262,17 @@ export default { } }); } + }, + getTagToolTips(tags) { + try { + let showTips = ""; + tags.forEach(item => { + showTips += item + ","; + }) + return showTips.substr(0, showTips.length - 1); + } catch (e) { + return ""; + } } }, }; @@ -1306,6 +1324,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 891018b38f..32abc76edd 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -956,7 +956,7 @@ export default { tags.forEach( item => { showTips += item + ","; }) - return showTips; + return showTips.substr(0, showTips.length - 1); }catch (e){ return ""; }