Compare commits

..

2 Commits

Author SHA1 Message Date
caiyiling 0e8fad2e6a Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details
2024-01-30 17:21:07 +08:00
caiyiling ecdee03ae8 修复单个序列预览多帧图像bug 2024-01-30 17:20:39 +08:00
1 changed files with 8 additions and 1 deletions

View File

@ -267,7 +267,14 @@ export default {
var seriesList = [] var seriesList = []
var imageIds = [] var imageIds = []
res.Result.forEach(instance => { 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({ seriesList.push({
trialId, trialId,