From 8fd06968bbc56124533fac660dd621d067d13c93 Mon Sep 17 00:00:00 2001 From: teukkk Date: Wed, 17 Jul 2024 18:01:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=AF=A6=E6=83=85-?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E8=AF=A6=E6=83=85-=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E5=88=97=E8=A1=A8=E5=8F=82=E6=95=B0=E6=9C=89?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1044144 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001044144 --- .../testPlan/detail/featureCase/detail/index.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/detail/index.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/detail/index.vue index e2d5ed930b..368b65ec75 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/detail/index.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/detail/index.vue @@ -313,7 +313,6 @@ try { caseListLoading.value = true; const res = await getPlanDetailFeatureCaseList({ - projectId: appStore.currentProjectId, testPlanId: route.query.id as string, keyword: keyword.value, current: pageNation.value.current || 1, @@ -557,7 +556,17 @@ onBeforeMount(async () => { const lastPageParams = window.history.state.params ? JSON.parse(window.history.state.params) : null; // 获取上个页面带过来的表格查询参数 if (lastPageParams) { - const { total, pageSize, current, keyword: _keyword, sort, moduleIds } = lastPageParams; + const { + total, + pageSize, + current, + keyword: _keyword, + sort, + moduleIds, + collectionId, + treeType, + projectId, + } = lastPageParams; pageNation.value = { total: total || 0, pageSize, @@ -567,6 +576,9 @@ otherListQueryParams.value = { sort, moduleIds, + collectionId, + treeType, + projectId, }; } getPlanDetail();