mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-09 09:39:47 +08:00
🐛 Fix(custom): fix aws s3 urlprefix bug
This commit is contained in:
@@ -2832,9 +2832,8 @@ async function getBucketFileListBackStage () {
|
||||
isLoadingData.value = true
|
||||
const fileTransferStore = useFileTransferStore()
|
||||
fileTransferStore.resetFileTransferList()
|
||||
if (currentPicBedName.value === 'webdavplist' ||
|
||||
currentPicBedName.value === 'local' ||
|
||||
currentPicBedName.value === 'sftp') {
|
||||
const picBedNamesArr = ['webdavplist', 'local', 'sftp']
|
||||
if (picBedNamesArr.includes(currentPicBedName.value)) {
|
||||
param.baseDir = configMap.baseDir
|
||||
param.webPath = configMap.webPath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user