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; };