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