diff --git a/frontend/src/views/test-plan/testPlan/components/planTable.vue b/frontend/src/views/test-plan/testPlan/components/planTable.vue index d54736ea52..dbc7c90434 100644 --- a/frontend/src/views/test-plan/testPlan/components/planTable.vue +++ b/frontend/src/views/test-plan/testPlan/components/planTable.vue @@ -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, }); }