mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
🎨 Attribute View data synchronization https://github.com/siyuan-note/siyuan/issues/7552
This commit is contained in:
parent
9a56ee55ec
commit
295caac056
3 changed files with 19 additions and 2 deletions
|
|
@ -35,5 +35,11 @@ func renderAttributeView(c *gin.Context) {
|
|||
}
|
||||
|
||||
id := arg["id"].(string)
|
||||
ret.Data = model.RenderAttributeView(id)
|
||||
data, err := model.RenderAttributeView(id)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
return
|
||||
}
|
||||
ret.Data = data
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue