mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
06f65e178e
commit
0ef5fb7f1d
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ func changeAttrViewLayout(c *gin.Context) {
|
|||
|
||||
blockID := arg["blockID"].(string)
|
||||
avID := arg["avID"].(string)
|
||||
layoutType := arg["layoutType"].(av.LayoutType)
|
||||
err := model.ChangeAttrViewLayout(blockID, avID, layoutType)
|
||||
layoutType := arg["layoutType"].(string)
|
||||
err := model.ChangeAttrViewLayout(blockID, avID, av.LayoutType(layoutType))
|
||||
if err != nil {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue