Browse Source

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

Daniel 1 year ago
parent
commit
dcb1237af3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      kernel/sql/av.go

+ 2 - 0
kernel/sql/av.go

@@ -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 {