From 46ae51fc152c27e91413fad1c50c217504a5eaac Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Thu, 30 Jun 2022 20:27:31 +0800 Subject: [PATCH] fix bug --- routers/repo/modelarts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {