格式化代码
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-01-30 17:24:19 +08:00
parent 0e8fad2e6a
commit c2aa4107b9
1 changed files with 3 additions and 4 deletions

View File

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