diff --git a/frontend/src/components/business/ms-associate-case/index.vue b/frontend/src/components/business/ms-associate-case/index.vue index fd0233d72a..23eb3a6998 100644 --- a/frontend/src/components/business/ms-associate-case/index.vue +++ b/frontend/src/components/business/ms-associate-case/index.vue @@ -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); }