diff --git a/test-track/frontend/src/business/case/components/BaseEditItemComponent.vue b/test-track/frontend/src/business/case/components/BaseEditItemComponent.vue index a77c813a5c..44e68c6cf6 100644 --- a/test-track/frontend/src/business/case/components/BaseEditItemComponent.vue +++ b/test-track/frontend/src/business/case/components/BaseEditItemComponent.vue @@ -340,6 +340,10 @@ export default { demandOptions = this.contentObject.content.demandOptions || []; } if (demandOptions.length > 0) { + if (this.contentObject.content.demandId === 'other') { + this.optionPlatformValue = this.$t("test_track.case.other"); + return this.optionPlatformValue; + } for (let i = 0; i < demandOptions.length; i++) { if (demandOptions[i].value === this.contentObject.content.demandId) { this.optionPlatformValue = this.handleDemandOptionLabel(demandOptions[i]); @@ -352,9 +356,6 @@ export default { ); } } - if (this.optionPlatformValue === '') { - this.optionPlatformValue = this.$t("test_track.case.other"); - } } return this.optionPlatformValue; },