From cb52137fdbf29b05dd0005f1ee896ec5ee85c292 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Fri, 9 Aug 2024 13:32:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E5=85=A8=E9=83=A8=E5=92=8C=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA=E6=9B=B4?= =?UTF-8?q?=E6=94=B9&=E5=90=8C=E6=AD=A5=E9=A1=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/case/apiCaseDetail.vue | 5 +- .../components/management/case/caseDetail.vue | 9 ++-- .../components/management/case/caseTable.vue | 5 +- .../management/case/differentDrawer.vue | 51 ++++++++++--------- .../components/management/case/syncModal.vue | 10 +++- 5 files changed, 50 insertions(+), 30 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/case/apiCaseDetail.vue b/frontend/src/views/api-test/management/components/management/case/apiCaseDetail.vue index 5e09711f01..d78a5a03cf 100644 --- a/frontend/src/views/api-test/management/components/management/case/apiCaseDetail.vue +++ b/frontend/src/views/api-test/management/components/management/case/apiCaseDetail.vue @@ -401,8 +401,11 @@ const isPriorityLocalExec = computed(() => executeRef.value?.isPriorityLocalExec ?? false); const caseId = ref(route.query.id as string); // 忽略本次变更 - async function clearThisChangeHandler() { + async function clearThisChangeHandler(isEvery: boolean) { getCaseDetailInfo(caseId.value); + if (isEvery) { + showDifferentDrawer.value = false; + } } // 同步参数 diff --git a/frontend/src/views/api-test/management/components/management/case/caseDetail.vue b/frontend/src/views/api-test/management/components/management/case/caseDetail.vue index 04c2752f96..daa01a95df 100644 --- a/frontend/src/views/api-test/management/components/management/case/caseDetail.vue +++ b/frontend/src/views/api-test/management/components/management/case/caseDetail.vue @@ -73,7 +73,7 @@ :active-api-case-id="activeApiCaseId" :active-defined-id="activeDefinedId" @close="closeDifferent" - @clear-this-change="brashChangeHandler" + @clear-this-change="(isEvery:boolean)=>brashChangeHandler(isEvery)" @sync="syncParamsHandler" /> @@ -95,7 +95,7 @@ - +