fix(测试计划): 修复测试计划关联用例重复数据问题

This commit is contained in:
xinxin.wu 2024-06-18 11:58:38 +08:00 committed by Craftsman
parent 4cf9878306
commit 12719e6774
2 changed files with 7 additions and 6 deletions

View File

@ -753,11 +753,6 @@
loading.value = true;
await editPlanMinder(makeMinderParams(fullJson));
Message.success(t('common.saveSuccess'));
tempMinderParams.value = {
planId: props.planId,
editList: [],
deletedIds: [],
};
handleConfigCancel();
initMinder();
callback();
@ -768,6 +763,11 @@
selectedAssociateCasesParams.value.selectIds = [];
} finally {
loading.value = false;
tempMinderParams.value = {
planId: props.planId,
editList: [],
deletedIds: [],
};
}
}

View File

@ -13,7 +13,8 @@
<ExecuteResult :execute-result="filterContent.key" />
</template>
<template #lastExecResult="{ record }">
<ExecuteResult :execute-result="record.executeResult" />
<ExecuteResult v-if="record.executeResult" :execute-result="record.executeResult" />
<span v-else>-</span>
<!-- TOTO 暂时不上 -->
<!-- <MsIcon
v-show="record.lastExecResult !== LastExecuteResults.PENDING"