🎨 Improve av

This commit is contained in:
Daniel 2025-08-13 11:21:29 +08:00
parent 68af39ba48
commit 418959d44a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -3549,7 +3549,7 @@ func sortAttributeViewRow(operation *Operation) (err error) {
if groupView := view.GetGroupByID(operation.GroupID); nil != groupView {
groupKey := view.GetGroupKey(attrView)
isAcrossGroup := operation.GroupID != operation.TargetGroupID
if isAcrossGroup && (av.KeyTypeTemplate == groupKey.Type || av.KeyTypeRollup == groupKey.Type || av.KeyTypeCreated == groupKey.Type || av.KeyTypeUpdated == groupKey.Type) {
if isAcrossGroup && (av.KeyTypeTemplate == groupKey.Type || av.KeyTypeCreated == groupKey.Type || av.KeyTypeUpdated == groupKey.Type) {
// 这些字段类型不支持跨分组移动,因为它们的值是自动计算生成的
return
}