Browse Source

update

tags/v1.21.12.1
liuzx 4 years ago
parent
commit
1febb731eb
1 changed files with 1 additions and 9 deletions
  1. +1
    -9
      routers/repo/modelarts.go

+ 1
- 9
routers/repo/modelarts.go View File

@@ -1010,20 +1010,12 @@ func TrainJobShow(ctx *context.Context) {
}

ctx.Data["jobID"] = jobID
ctx.Data["jobName"] = VersionListTasks[0].JobName
ctx.Data["version_list_task"] = VersionListTasks
ctx.Data["version_list_count"] = VersionListCount
ctx.HTML(http.StatusOK, tplModelArtsTrainJobShow)
}

// func addZero(t int64) (m string) {
// if t < 10 {
// m = "0" + strconv.FormatInt(t, 10)
// return m
// } else {
// return strconv.FormatInt(t, 10)
// }
// }

func TrainJobGetLog(ctx *context.Context) {
ctx.Data["PageIsTrainJob"] = true



Loading…
Cancel
Save