mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
🎨 Improve av
This commit is contained in:
parent
34f1f6a3d4
commit
db59bdf562
2 changed files with 2 additions and 0 deletions
|
|
@ -1808,6 +1808,7 @@ func genAttrViewGroups(view *av.View, attrView *av.AttributeView) {
|
|||
}
|
||||
|
||||
v.Name = "" // 分组视图的名称在渲染时才填充
|
||||
v.GroupKey = groupKey
|
||||
v.GroupVal = &av.Value{Type: av.KeyTypeText, Text: &av.ValueText{Content: groupValue}}
|
||||
if av.KeyTypeSelect == groupKey.Type || av.KeyTypeMSelect == groupKey.Type {
|
||||
if opt := groupKey.GetOption(groupValue); nil != opt {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue