Merge branch 'feature/1.7-liujian' into 'main'

Fix: Dragging to modify the order of service categories will fail when there...

See merge request apipark/APIPark!333
This commit is contained in:
刘健
2025-04-16 15:21:28 +08:00
+4 -1
View File
@@ -515,7 +515,10 @@ func (i *imlCatalogueModule) recurseUpdateSort(ctx context.Context, parent strin
if len(item.Children) < 1 {
continue
}
return i.recurseUpdateSort(ctx, item.Id, item.Children)
err = i.recurseUpdateSort(ctx, item.Id, item.Children)
if err != nil {
return err
}
}
return nil
}