Browse Source

解决用户名显示错误的Bug

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

+ 0
- 2
routers/repo/ai_model_manage.go View File

@@ -513,8 +513,6 @@ func ShowModelPageInfo(ctx *context.Context) {

userIds := make([]int64, len(modelResult))
for i, model := range modelResult {
log.Info("model=" + model.Name)
log.Info("model.UserId=" + fmt.Sprint(model.UserId))
model.IsCanOper = isOper(ctx, model.UserId)
userIds[i] = model.UserId
}


Loading…
Cancel
Save