🎨 Improve mirror databases refresh after updating database view layout https://github.com/siyuan-note/siyuan/issues/15233

This commit is contained in:
Daniel 2025-07-11 10:23:13 +08:00
parent 34d7bc76c3
commit 9aa6916a2d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -259,6 +259,7 @@ func ChangeAttrViewLayout(blockID, avID string, layout av.LayoutType) (err error
if blockID == bID { // 当前操作的镜像库
attrs[av.NodeAttrView] = view.ID
node.AttributeViewType = string(view.LayoutType)
attrView.ViewID = view.ID
changed = true
} else {
if view.ID == attrs[av.NodeAttrView] {