mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Improve Add to Database https://github.com/siyuan-note/siyuan/issues/10659
This commit is contained in:
parent
8aa8ad65f8
commit
005ae241e9
4 changed files with 18 additions and 9 deletions
|
|
@ -1099,7 +1099,7 @@ func (tx *Transaction) doLargeInsert(previousID string) (ret *TxErr) {
|
|||
AddAttributeViewBlock(tx, []map[string]interface{}{{
|
||||
"id": insertedNode.ID,
|
||||
"isDetached": false,
|
||||
}}, avID, "", "", previousID)
|
||||
}}, avID, "", "", previousID, false)
|
||||
ReloadAttrView(avID)
|
||||
}
|
||||
|
||||
|
|
@ -1284,7 +1284,7 @@ func (tx *Transaction) doInsert(operation *Operation) (ret *TxErr) {
|
|||
AddAttributeViewBlock(tx, []map[string]interface{}{{
|
||||
"id": insertedNode.ID,
|
||||
"isDetached": false,
|
||||
}}, avID, "", "", previousID)
|
||||
}}, avID, "", "", previousID, false)
|
||||
ReloadAttrView(avID)
|
||||
}
|
||||
|
||||
|
|
@ -1727,6 +1727,7 @@ type Operation struct {
|
|||
Layout av.LayoutType `json:"layout"` // 属性视图布局类型
|
||||
GroupID string `json:"groupID"` // 属性视图分组视图 ID
|
||||
TargetGroupID string `json:"targetGroupID"` // 属性视图目标分组视图 ID
|
||||
IgnoreDefaultFill bool `json:"ignoreDefaultFill"` // 是否忽略默认填充
|
||||
}
|
||||
|
||||
type Transaction struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue