Browse Source

fix bug

pull/2422/head
lewis 3 years ago
parent
commit
46ae51fc15
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

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

@@ -2514,7 +2514,7 @@ func GetDatasUrlListByUUIDS(uuidStr string) ([]models.Datasurl, string, bool, er
uuidList := strings.Split(uuidStr, ";")
isMultiDataset := false

if len(uuidList) > 1 {
if len(uuidList) >= 1 {
for _, uuid := range uuidList {
attach, err := models.GetAttachmentByUUID(uuid)
if err != nil {


Loading…
Cancel
Save