fix(测试计划): 修复测试计划关联接口CASE类型错误
This commit is contained in:
parent
4aa3ea1566
commit
cd6083ee7e
|
@ -553,12 +553,11 @@
|
||||||
params.syncCase = syncCase.value;
|
params.syncCase = syncCase.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.associateType === CaseLinkEnum.API) {
|
if (props.associatedType === CaseLinkEnum.API) {
|
||||||
params.associateType = showType.value;
|
params.associateType = showType.value === 'API' ? showType.value : 'API_CASE';
|
||||||
} else {
|
} else {
|
||||||
params.associateType = props.associatedType;
|
params.associateType = props.associatedType;
|
||||||
}
|
}
|
||||||
|
|
||||||
emit('save', params);
|
emit('save', params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue