From e2ceab55ff0aaac688345d93fd93301c999cc028 Mon Sep 17 00:00:00 2001 From: teukkk Date: Tue, 28 May 2024 15:45:43 +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=E9=99=84=E4=BB=B6=E5=9B=BE=E7=89=87=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E6=9C=AA=E7=9B=B4=E6=8E=A5=E6=98=BE=E7=A4=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E5=9B=BE=E7=89=87=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=1041288 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001041288 --- .../caseManagementFeature/components/tabContent/tabDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue index 76279afe2c..a7abe0b05c 100644 --- a/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue +++ b/frontend/src/views/case-management/caseManagementFeature/components/tabContent/tabDetail.vue @@ -632,7 +632,6 @@ // 预览 async function handlePreview(item: MsFileItem) { try { - previewVisible.value = true; const res = await previewFile({ projectId: currentProjectId.value, caseId: detailForm.value.id, @@ -641,6 +640,7 @@ }); const blob = new Blob([res], { type: 'image/jpeg' }); imageUrl.value = URL.createObjectURL(blob); + previewVisible.value = true; } catch (error) { console.log(error); }