fix: downloadUrl of file preview (#3728)

This commit is contained in:
Patrick Wang 2025-06-21 15:21:17 +08:00 committed by GitHub
parent a493ec90ff
commit 8a14018861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -253,7 +253,7 @@ const hasPrevious = computed(() => previousLink.value !== "");
const hasNext = computed(() => nextLink.value !== ""); const hasNext = computed(() => nextLink.value !== "");
const downloadUrl = computed(() => const downloadUrl = computed(() =>
fileStore.req ? api.getDownloadURL(fileStore.req, true) : "" fileStore.req ? api.getDownloadURL(fileStore.req, false) : ""
); );
const raw = computed(() => { const raw = computed(() => {