From b56a6d327bc0cda9ac2017c15712caf9a0ad1295 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 13 Aug 2024 15:20:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A1=E5=88=92=E8=AF=A6=E6=83=85-?= =?UTF-8?q?=E7=BC=BA=E9=99=B7=E5=88=97=E8=A1=A8=E7=82=B9=E5=87=BBID?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E7=BC=BA=E9=99=B7=E8=AF=A6=E6=83=85-?= =?UTF-8?q?=E7=94=A8=E4=BE=8B/=E8=AF=84=E8=AE=BA/=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=A0=87=E7=AD=BE=E7=82=B9=E5=87=BB=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/bug-management/components/bug-detail-drawer.vue | 2 +- .../src/views/test-plan/testPlan/detail/bugManagement/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/bug-management/components/bug-detail-drawer.vue b/frontend/src/views/bug-management/components/bug-detail-drawer.vue index 0f05c692e8..b116bdfd96 100644 --- a/frontend/src/views/bug-management/components/bug-detail-drawer.vue +++ b/frontend/src/views/bug-management/components/bug-detail-drawer.vue @@ -410,7 +410,7 @@ const editLoading = ref(false); async function getDetail() { - const res = await getBugDetail(currentDetailId.value); + const res = await getBugDetail(props.detailId); loadedBug(res); } diff --git a/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue b/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue index 086be6ca80..b2d029dde7 100644 --- a/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue +++ b/frontend/src/views/test-plan/testPlan/detail/bugManagement/index.vue @@ -174,7 +174,7 @@ const detailVisible = ref(false); const activeDetailId = ref(''); const currentPlatform = ref('Local'); - const handleShowDetail = async (id: string) => { + const handleShowDetail = (id: string) => { activeDetailId.value = id; detailVisible.value = true; };