fix: downloadUrl of file preview

This commit is contained in:
Patrick Wang 2025-06-20 10:58:34 +08:00 committed by Henrique Dias
parent a493ec90ff
commit 50c262144e

View File

@ -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(() => {