下载功能修复
parent
f4c868aa4f
commit
ab1fc82142
|
@ -90,7 +90,7 @@ const setfolder = async (item) => {
|
||||||
const handleBatchDown = async (item, zip) => {
|
const handleBatchDown = async (item, zip) => {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
getFileData(
|
getFileData(
|
||||||
Vue.prototype.OSSclientConfig.basePath + item.instancePath.slice(1)
|
Vue.prototype.OSSclientConfig.basePath + item.instancePath
|
||||||
).then((res) => {
|
).then((res) => {
|
||||||
const fileName = item.dicomName + ".dcm";
|
const fileName = item.dicomName + ".dcm";
|
||||||
zip.file(fileName, res.data, { binary: true });
|
zip.file(fileName, res.data, { binary: true });
|
||||||
|
|
Loading…
Reference in New Issue