This commit is contained in:
Daniel 2025-08-13 17:00:42 +08:00
parent d1b2309e4a
commit 6a9eb455fc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -74,6 +74,11 @@ func GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousBlockID,
}
ret = getAttrViewAddingBlockDefaultValues(attrView, view, groupView, previousBlockID, addingBlockID)
if 1 > len(ret) {
if 2 > len(view.Groups) && 1 > len(groupView.GroupItemIDs) { // 只有一个分组并且没有项目时忽略
ignore = true
}
}
return
}