fix(测试计划): 修复测试计划归档切换位更新模块树count
This commit is contained in:
parent
78c9ba6fe6
commit
a847dac0e2
|
@ -915,11 +915,17 @@
|
|||
// 获取父组件模块数量
|
||||
async function emitTableParams(isInit = false) {
|
||||
const tableParams = await initTableParams(isInit);
|
||||
const filterParams = {
|
||||
...propsRes.value.filter,
|
||||
};
|
||||
if (isArchived.value) {
|
||||
filterParams.status = ['ARCHIVED'];
|
||||
}
|
||||
emit('init', {
|
||||
...tableParams,
|
||||
current: propsRes.value.msPagination?.current,
|
||||
pageSize: propsRes.value.msPagination?.pageSize,
|
||||
filter: propsRes.value.filter,
|
||||
filter: filterParams,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue