|
@@ -39,7 +39,11 @@ export const uploadToOBS = async (file, progressCallback, type, cancelCallback)
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ //四福堂专属配置
|
|
|
|
|
+ // resolve({
|
|
|
|
|
+ // "RequestId": "",
|
|
|
|
|
+ // "urlPath": ""
|
|
|
|
|
+ // })
|
|
|
obsClient.putObject(
|
|
obsClient.putObject(
|
|
|
{
|
|
{
|
|
|
Bucket: process.env.VUE_APP_OBS_BUCKET,
|
|
Bucket: process.env.VUE_APP_OBS_BUCKET,
|
|
@@ -65,6 +69,7 @@ export const uploadToOBS = async (file, progressCallback, type, cancelCallback)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
)
|
|
)
|
|
|
|
|
+ //注释到这里【四福堂】
|
|
|
})
|
|
})
|
|
|
} catch (error) {
|
|
} catch (error) {
|
|
|
console.error("Error during upload:", error)
|
|
console.error("Error during upload:", error)
|