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

View file

@ -75,7 +75,7 @@ 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) { // 只有一个分组并且没有项目时忽略
if 2 > len(view.Groups) && 1 > len(groupView.GroupItemIDs) { // 少于两个分组并且没有项目时忽略
ignore = true
}
}