mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 05:18:49 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15644
This commit is contained in:
parent
e1fca0674d
commit
2899e3851d
2 changed files with 28 additions and 1 deletions
|
|
@ -978,6 +978,8 @@ func GetAttributeViewDefaultValue(valueID, keyID, blockID string, typ KeyType) (
|
|||
}
|
||||
|
||||
switch typ {
|
||||
case KeyTypeBlock:
|
||||
ret.Block = &ValueBlock{Created: ret.CreatedAt, Updated: ret.UpdatedAt}
|
||||
case KeyTypeText:
|
||||
ret.Text = &ValueText{}
|
||||
case KeyTypeNumber:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue