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"
|
:params="batchUpdateParams"
|
||||||
:show-title-count="showType === 'list'"
|
:show-title-count="showType === 'list'"
|
||||||
:batch-update-executor="batchUpdateCaseExecutor"
|
:batch-update-executor="batchUpdateCaseExecutor"
|
||||||
@load-list="resetSelectorAndCaseList"
|
@load-list="resetCaseList"
|
||||||
/>
|
/>
|
||||||
<!-- 批量移动 -->
|
<!-- 批量移动 -->
|
||||||
<BatchApiMoveModal
|
<BatchApiMoveModal
|
||||||
|
@ -585,14 +585,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetCaseList() {
|
function resetCaseList() {
|
||||||
resetSelector();
|
|
||||||
getModuleCount();
|
|
||||||
loadList();
|
|
||||||
}
|
|
||||||
|
|
||||||
function resetSelectorAndCaseList() {
|
|
||||||
if (showType.value === 'list') {
|
if (showType.value === 'list') {
|
||||||
resetSelector();
|
resetSelector();
|
||||||
|
getModuleCount();
|
||||||
loadList();
|
loadList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -709,8 +704,7 @@
|
||||||
excludeIds: batchParams.value?.excludeIds || [],
|
excludeIds: batchParams.value?.excludeIds || [],
|
||||||
});
|
});
|
||||||
Message.success(t('common.updateSuccess'));
|
Message.success(t('common.updateSuccess'));
|
||||||
resetSelector();
|
resetCaseList();
|
||||||
loadList();
|
|
||||||
emit('refresh');
|
emit('refresh');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
|
|
Loading…
Reference in New Issue