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