fix(测试跟踪):功能用例关联的devops需求,保存后回显为空
--bug=1022341 --user=王旭 【测试跟踪】github#21508,功能用例关联的devops需求,保存后回显为空 https://www.tapd.cn/55049933/s/1357910
This commit is contained in:
parent
d3f582e2ea
commit
02d528b559
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue