下载功能修复

main
wangxiaoshuang 2024-04-19 15:02:22 +08:00
parent f4c868aa4f
commit ab1fc82142
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ const setfolder = async (item) => {
const handleBatchDown = async (item, zip) => {
return new Promise((resolve) => {
getFileData(
Vue.prototype.OSSclientConfig.basePath + item.instancePath.slice(1)
Vue.prototype.OSSclientConfig.basePath + item.instancePath
).then((res) => {
const fileName = item.dicomName + ".dcm";
zip.file(fileName, res.data, { binary: true });