mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
✨ Attribute View (Database) https://github.com/siyuan-note/siyuan/issues/2829
This commit is contained in:
parent
8ad84ec6f7
commit
f4055c55c4
2 changed files with 6 additions and 6 deletions
|
|
@ -35,11 +35,13 @@ func renderAttributeView(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
data, err := model.RenderAttributeView(id)
|
||||
av, err := model.RenderAttributeView(id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
return
|
||||
}
|
||||
ret.Data = data
|
||||
ret.Data = map[string]interface{}{
|
||||
"av": av,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue