diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 0f1988c2c..4fa1e4e25 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -3755,10 +3755,7 @@ func sortAttributeViewRow(operation *Operation) (err error) { targetGroupView.GroupItemIDs = util.InsertElem(targetGroupView.GroupItemIDs, previousIndex, itemID) } - if av.KeyTypeMSelect == groupKey.Type || av.KeyTypeRelation == groupKey.Type { - // 跨多选分组时一个项目可能会同时存在于多个分组中,需要重新生成分组 - regenAttrViewGroups(attrView) - } + regenAttrViewGroups(attrView) } else { // 同分组内排序 for i, r := range groupView.GroupItemIDs { if r == operation.PreviousID {