Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-30 17:53:04 +08:00
parent ab43a2d35f
commit 45465e12ef
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 18 additions and 0 deletions

View file

@ -196,6 +196,11 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
}
newValue := filter.GetAffectValue(keyValues.Key, addingItemID)
if nil == newValue {
if filter.IsValid() {
newValue = getNewValueByNearItem(nearItem, keyValues.Key, addingItemID)
}
}
if nil != newValue {
if av.KeyTypeDate == keyValues.Key.Type {
if nil != nearItem {