diff --git a/routers/repo/modelarts.go b/routers/repo/modelarts.go index 29545fb58..95fac7f9a 100755 --- a/routers/repo/modelarts.go +++ b/routers/repo/modelarts.go @@ -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 {