fix(测试计划): 执行后刷新左侧模块树数量
--bug=1045026 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001045026
This commit is contained in:
parent
da4cecfade
commit
21391bd378
|
@ -151,7 +151,7 @@
|
|||
:params="batchUpdateParams"
|
||||
:show-title-count="showType === 'list'"
|
||||
:batch-update-executor="batchUpdateCaseExecutor"
|
||||
@load-list="resetSelectorAndCaseList"
|
||||
@load-list="resetCaseList"
|
||||
/>
|
||||
<!-- 批量移动 -->
|
||||
<BatchApiMoveModal
|
||||
|
@ -585,14 +585,9 @@
|
|||
}
|
||||
|
||||
function resetCaseList() {
|
||||
resetSelector();
|
||||
getModuleCount();
|
||||
loadList();
|
||||
}
|
||||
|
||||
function resetSelectorAndCaseList() {
|
||||
if (showType.value === 'list') {
|
||||
resetSelector();
|
||||
getModuleCount();
|
||||
loadList();
|
||||
}
|
||||
}
|
||||
|
@ -709,8 +704,7 @@
|
|||
excludeIds: batchParams.value?.excludeIds || [],
|
||||
});
|
||||
Message.success(t('common.updateSuccess'));
|
||||
resetSelector();
|
||||
loadList();
|
||||
resetCaseList();
|
||||
emit('refresh');
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
|
|
Loading…
Reference in New Issue