Browse Source

继续解决Bug

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2829/head
zouap 2 years ago
parent
commit
8b8b439b55
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

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

@@ -346,7 +346,7 @@ func GetCloudBrainDataSetInfo(uuid string, datasetname string, isNeedDown bool)
attachment, err := models.GetAttachmentByUUID(uuidStr)
if err != nil {
log.Error("GetAttachmentByUUID failed:%v", err.Error())
if len(datasetnameList) <= i {
if len(datasetnameList) <= i || len(datasetname) == 0 {
continue
}
name = datasetnameList[i]


Loading…
Cancel
Save