mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-08-28 19:47:17 +08:00
🐛 Fix(custom): fix the s3 download issue
This commit is contained in:
@@ -10,3 +10,5 @@
|
|||||||
|
|
||||||
- 修复了Typora对接的问题
|
- 修复了Typora对接的问题
|
||||||
- 修复了部分情况下点击相册页面排序按钮无响应的问题
|
- 修复了部分情况下点击相册页面排序按钮无响应的问题
|
||||||
|
- 修复了云端s3下载失败的问题
|
||||||
|
- 修复了云端页面部分UI字样错误的问题
|
||||||
|
|||||||
@@ -10,3 +10,5 @@
|
|||||||
|
|
||||||
- Fixed issues with Typora integration
|
- Fixed issues with Typora integration
|
||||||
- Fixed unresponsive sorting buttons on the album page in certain cases
|
- Fixed unresponsive sorting buttons on the album page in certain cases
|
||||||
|
- Fixed S3 download failures on the cloud page
|
||||||
|
- Fixed some UI text errors on the cloud page
|
||||||
|
|||||||
@@ -849,10 +849,11 @@ class S3plistApi {
|
|||||||
expires: 36000,
|
expires: 36000,
|
||||||
customUrl,
|
customUrl,
|
||||||
})
|
})
|
||||||
|
const cleanURL = decodeURIComponent(preSignedUrl)
|
||||||
promises.push(
|
promises.push(
|
||||||
() =>
|
() =>
|
||||||
new Promise((resolve, reject) => {
|
new Promise((resolve, reject) => {
|
||||||
NewDownloader(instance, preSignedUrl, id, savedFilePath, this.logger, this.proxy).then((res: boolean) => {
|
NewDownloader(instance, cleanURL, id, savedFilePath, this.logger, this.proxy).then((res: boolean) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
resolve(res)
|
resolve(res)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -1023,7 +1023,7 @@
|
|||||||
<span>{{ item.finishTime }}</span>
|
<span>{{ item.finishTime }}</span>
|
||||||
<span class="text-xs font-semibold text-success">
|
<span class="text-xs font-semibold text-success">
|
||||||
{{
|
{{
|
||||||
activeUpLoadTab === 'finished'
|
activeDownLoadTab === 'finished'
|
||||||
? t('pages.manage.bucket.success')
|
? t('pages.manage.bucket.success')
|
||||||
: t('pages.manage.bucket.failed')
|
: t('pages.manage.bucket.failed')
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user