Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.10.1^2
zouap 3 years ago
parent
commit
f9d6afa11c
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      routers/repo/cloudbrain.go

+ 4
- 1
routers/repo/cloudbrain.go View File

@@ -743,7 +743,10 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName, jobType models.Jo
} else {
task, err = models.GetCloudbrainByIDWithDeleted(ctx.Params(":id"))
}

if task.JobType == string(models.JobTypeModelSafety) {
GetAiSafetyTaskTmpl(ctx)
return
}
if err != nil {
log.Info("error:" + err.Error())
ctx.NotFound(ctx.Req.URL.RequestURI(), nil)


Loading…
Cancel
Save