Browse Source

提交代码

tags/v1.22.5.1^2
ychao_1983 4 years ago
parent
commit
1ff63e73d5
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      routers/repo/cloudbrain.go

+ 3
- 0
routers/repo/cloudbrain.go View File

@@ -544,6 +544,9 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName, jobType models.Jo
task.BenchmarkType = ctx.Tr("repo.cloudbrain.benchmark.model")
task.BenchmarkTypeName = task.JobType
ctx.Data["BenchmarkTypeName"] = task.JobType
if task.JobType == string(models.JobTypeBrainScore) {
ctx.Data["BenchmarkChildTypeName"] = getBrainRegion(task.BenchmarkChildTypeID)
}

}



Loading…
Cancel
Save