diff --git a/test-track/frontend/src/business/case/components/case/CaseStepChange.vue b/test-track/frontend/src/business/case/components/case/CaseStepChange.vue index 73b980fb30..cd55af00e3 100644 --- a/test-track/frontend/src/business/case/components/case/CaseStepChange.vue +++ b/test-track/frontend/src/business/case/components/case/CaseStepChange.vue @@ -11,11 +11,9 @@
{{ $t("test_track.case.step_describe") }}
-
{{ $t("test_track.case.text_describe") }}
-
diff --git a/test-track/frontend/src/business/case/components/export/TestCaseExportFieldList.vue b/test-track/frontend/src/business/case/components/export/TestCaseExportFieldList.vue index 4154b0c746..1d16dca43d 100644 --- a/test-track/frontend/src/business/case/components/export/TestCaseExportFieldList.vue +++ b/test-track/frontend/src/business/case/components/export/TestCaseExportFieldList.vue @@ -9,7 +9,7 @@ v-model="item.enable" :disabled="item.disabled" @change="change"> - {{ item.name }} + {{ item.name | ellipsis}} @@ -38,6 +38,17 @@ export default { change(value) { this.$emit('enableChange', value); } + }, + filters: { + ellipsis(value) { + if (!value) { + return ''; + } + if (value.length > 5) { + return value.slice(0, 4) + '...'; + } + return value; + }, } }