Browse Source

提交代码

tags/v1.22.12.1^2
ychao_1983 3 years ago
parent
commit
c6b93a7ce6
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      routers/repo/grampus.go

+ 1
- 2
routers/repo/grampus.go View File

@@ -1130,11 +1130,10 @@ func GrampusNotebookShow(ctx *context.Context) {
prepareSpec4Show(ctx, task)
datasetList := make([]NotebookDataset, 0)
_ = json.Unmarshal([]byte(task.DataUrl), &datasetList)
ctx.Data["task"] = task
ctx.Data["datasetDownload"] = datasetList
ctx.Data["canDownload"] = cloudbrain.CanModifyJob(ctx, task)
ctx.Data["ai_center"] = cloudbrainService.GetAiCenterShow(task.AiCenter, ctx)
ctx.Data[""] = cloudbrainService.GetAiCenterShow(task.AiCenter, ctx)
ctx.HTML(http.StatusOK, tplGrampusNotebookShow)
}



Loading…
Cancel
Save