修复单个序列预览多帧图像bug

uat_us
caiyiling 2024-01-30 17:20:39 +08:00
parent 118acc70f3
commit ecdee03ae8
1 changed files with 8 additions and 1 deletions

View File

@ -267,7 +267,14 @@ export default {
var seriesList = []
var imageIds = []
res.Result.forEach(instance => {
imageIds.push(`wadouri:${localStorage.getItem('location') !== 'USA' ? this.OSSclientConfig.basePath : this.OSSclientConfig.basePath}${instance.Path}`)
if(instance.NumberOfFrames > 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{
imageIds.push(`wadouri:${localStorage.getItem('location') !== 'USA' ? this.OSSclientConfig.basePath : this.OSSclientConfig.basePath}${instance.Path}`)
}
})
seriesList.push({
trialId,