refactor(测试计划): 计划详情页-执行脑图-切换模块测试点刷新count

This commit is contained in:
teukkk 2024-10-17 17:17:03 +08:00 committed by Craftsman
parent a67d17d494
commit 3d3ffa6a68
2 changed files with 2 additions and 0 deletions

View File

@ -1149,6 +1149,7 @@
defineExpose({ defineExpose({
resetSelector, resetSelector,
getModuleCount,
refresh, refresh,
}); });

View File

@ -93,6 +93,7 @@
await caseTreeRef.value?.initModules(); await caseTreeRef.value?.initModules();
if (activeFolderId.value !== 'all') { if (activeFolderId.value !== 'all') {
caseTreeRef.value?.setActiveFolder('all'); caseTreeRef.value?.setActiveFolder('all');
caseTableRef.value?.getModuleCount();
} else { } else {
caseTableRef.value?.refresh(); caseTableRef.value?.refresh();
} }