From 55bec8a911f89d726648dd8f300761ca158aea0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:00:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=9B=BE=E7=89=87/?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E9=A2=84=E8=A7=88=E6=97=B6=EF=BC=8C=E9=87=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E6=96=87=E4=BB=B6=E5=90=8D=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E7=BC=93=E5=AD=98=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E9=97=AE=E9=A2=98=20(#6533)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs #6505 --- frontend/src/views/host/file-management/preview/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/host/file-management/preview/index.vue b/frontend/src/views/host/file-management/preview/index.vue index 1f341ce44..f5d4e83c6 100644 --- a/frontend/src/views/host/file-management/preview/index.vue +++ b/frontend/src/views/host/file-management/preview/index.vue @@ -115,7 +115,9 @@ const acceptParams = (props: EditProps) => { isFullscreen.value = fileType.value === 'excel'; loading.value = true; - fileUrl.value = `${import.meta.env.VITE_API_URL as string}/files/download?path=${encodeURIComponent(props.path)}`; + fileUrl.value = `${import.meta.env.VITE_API_URL as string}/files/download?path=${encodeURIComponent( + props.path, + )}×tamp=${new Date().getTime()}`; open.value = true; loading.value = false; };