From 50c262144e161129a4c8cd107ddd66fa037ef6ba Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Fri, 20 Jun 2025 10:58:34 +0800 Subject: [PATCH] fix: downloadUrl of file preview --- frontend/src/views/files/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 4fd3d2c8..934fd238 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -253,7 +253,7 @@ const hasPrevious = computed(() => previousLink.value !== ""); const hasNext = computed(() => nextLink.value !== ""); const downloadUrl = computed(() => - fileStore.req ? api.getDownloadURL(fileStore.req, true) : "" + fileStore.req ? api.getDownloadURL(fileStore.req, false) : "" ); const raw = computed(() => {