diff --git a/src/views/dicom-show/dicom-study.vue b/src/views/dicom-show/dicom-study.vue index 3848d01e..efc385e2 100644 --- a/src/views/dicom-show/dicom-study.vue +++ b/src/views/dicom-show/dicom-study.vue @@ -267,14 +267,13 @@ export default { var seriesList = [] var imageIds = [] res.Result.forEach(instance => { - if(instance.NumberOfFrames > 1){ - for(let i = 0 ; i 1) { + for (let i = 0; i < instance.NumberOfFrames; i++) { imageIds.push(`wadouri:${localStorage.getItem('location') !== 'USA' ? this.OSSclientConfig.basePath : this.OSSclientConfig.basePath}${instance.Path}?frame=${i}`) } - }else{ + } else { imageIds.push(`wadouri:${localStorage.getItem('location') !== 'USA' ? this.OSSclientConfig.basePath : this.OSSclientConfig.basePath}${instance.Path}`) } - }) seriesList.push({ trialId,