mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Attribute View data synchronization https://github.com/siyuan-note/siyuan/issues/7552
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user