🐛 Fix(custom): fix aws s3 urlprefix bug

This commit is contained in:
Kuingsmile
2024-04-22 16:27:31 +08:00
parent 939c907d23
commit 3681681401
4 changed files with 24 additions and 14 deletions

View File

@@ -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
}