This commit is contained in:
Daniel 2025-07-04 12:00:47 +08:00
parent d7f56c2bb6
commit 1ab9b5c518
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
24 changed files with 141 additions and 85 deletions

View file

@ -48,7 +48,7 @@ func checkAttrView(attrView *av.AttributeView, view *av.View) {
// 视图类型不匹配时需要订正
for i, v := range attrView.Views {
if av.LayoutTypeGallery == v.LayoutType && nil == v.Gallery {
// 切换为画廊视图时可能没有初始化画廊实例 https://github.com/siyuan-note/siyuan/issues/15122
// 切换为卡片视图时可能没有初始化卡片实例 https://github.com/siyuan-note/siyuan/issues/15122
if nil != v.Table {
v.LayoutType = av.LayoutTypeTable
changed = true