Browse Source

fix-2633

tags/v1.22.8.1^2
liuzx 3 years ago
parent
commit
6ecaf187a2
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      routers/admin/cloudbrains.go
  2. +2
    -0
      routers/user/home.go

+ 2
- 0
routers/admin/cloudbrains.go View File

@@ -41,6 +41,8 @@ func CloudBrains(ctx *context.Context) {
ctx.Data["ListType"] = listType
ctx.Data["JobType"] = jobType
ctx.Data["JobStatus"] = jobStatus
ctx.Data["aiCenter"] = aiCenter
ctx.Data["cluster"] = cluster

page := ctx.QueryInt("page")
if page <= 0 {


+ 2
- 0
routers/user/home.go View File

@@ -767,6 +767,8 @@ func Cloudbrains(ctx *context.Context) {
ctx.Data["ListType"] = listType
ctx.Data["JobType"] = jobType
ctx.Data["JobStatus"] = jobStatus
ctx.Data["aiCenter"] = aiCenter
ctx.Data["cluster"] = cluster

page := ctx.QueryInt("page")
if page <= 0 {


Loading…
Cancel
Save