🎨 Keep the width when duplicating database table view field https://github.com/siyuan-note/siyuan/issues/11552

This commit is contained in:
Daniel 2024-06-10 16:54:43 +08:00
parent 22c94e9a68
commit dcb1237af3
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -59,6 +59,8 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
for _, col := range view.Table.Columns {
key, getErr := attrView.GetKey(col.ID)
if nil != getErr {
// 找不到字段则在视图中删除
switch view.LayoutType {
case av.LayoutTypeTable:
for i, column := range view.Table.Columns {