From 9edcf5b6ddca1e12c898cad1e6489545873b5511 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Fri, 3 Mar 2023 15:23:54 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=8C=81=E4=B9=85=E5=8C=96=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E8=A7=86=E5=9B=BE=20https://github.com/siyuan-note/si?= =?UTF-8?q?yuan/issues/2829?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 10ddbcbbd..542a6524e 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -147,7 +147,7 @@ func addAttributeViewBlock(blockID, avID string, tree *parse.Tree, tx *Transacti } row := av.NewRow() - row.Cells = append(row.Cells, &av.Cell{Value: blockID}) + row.Cells = append(row.Cells, &av.Cell{ID: ast.NewNodeID(), Value: blockID}) if 1 < len(attrView.Columns) { // 将列作为属性添加到块中