mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15540
This commit is contained in:
parent
e9afbb6931
commit
bbe2001366
1 changed files with 5 additions and 0 deletions
|
@ -853,6 +853,11 @@ func (filter *ViewFilter) GetAffectValue(key *Key, addingBlockID string) (ret *V
|
|||
}
|
||||
}
|
||||
|
||||
if FilterOperatorIsNotEmpty == filter.Operator {
|
||||
// 在过滤非空值的情况下,不设置默认值 https://github.com/siyuan-note/siyuan/issues/15540
|
||||
return nil
|
||||
}
|
||||
|
||||
ret = filter.Value.Clone()
|
||||
ret.ID = ast.NewNodeID()
|
||||
ret.KeyID = key.ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue