mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Rows non-bound in the database support Add to Database https://github.com/siyuan-note/siyuan/issues/11093
This commit is contained in:
parent
68549c5c81
commit
4cc2d9a6a8
2 changed files with 9 additions and 6 deletions
|
|
@ -127,8 +127,12 @@ func addAttributeViewValues(c *gin.Context) {
|
|||
if nil != arg["ignoreFillFilter"] {
|
||||
ignoreFillFilter = arg["ignoreFillFilter"].(bool)
|
||||
}
|
||||
var content string
|
||||
if nil != arg["content"] {
|
||||
content = arg["content"].(string)
|
||||
}
|
||||
|
||||
err := model.AddAttributeViewBlock(nil, srcIDs, avID, blockID, previousID, isDetached, ignoreFillFilter)
|
||||
err := model.AddAttributeViewBlock(nil, srcIDs, avID, blockID, previousID, content, isDetached, ignoreFillFilter)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue