fix(用例管理): 修复用例评审详情页取消关联用例模块不刷新的问题
--bug=1040665 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001040665
This commit is contained in:
parent
1c104344cc
commit
5eb5359a21
|
@ -559,7 +559,13 @@
|
|||
try {
|
||||
disassociateLoading.value = true;
|
||||
await disassociateReviewCase(route.query.id as string, record.caseId);
|
||||
emit('refresh', tableParams.value);
|
||||
emit('refresh', {
|
||||
...tableParams.value,
|
||||
current: propsRes.value.msPagination?.current,
|
||||
pageSize: propsRes.value.msPagination?.pageSize,
|
||||
total: propsRes.value.msPagination?.total,
|
||||
moduleIds: [],
|
||||
});
|
||||
if (done) {
|
||||
done();
|
||||
}
|
||||
|
|
|
@ -389,6 +389,7 @@
|
|||
function handleRefresh(params: ReviewDetailCaseListQueryParams) {
|
||||
initModulesCount(params);
|
||||
initDetail();
|
||||
folderTreeRef.value?.initModules();
|
||||
}
|
||||
|
||||
const moduleTree = ref<ModuleTreeNode[]>([]);
|
||||
|
|
Loading…
Reference in New Issue