fix:修复编辑状态下文档展开方式读取错误

This commit is contained in:
lifei6671 2018-09-10 15:36:37 +08:00
parent 599379852b
commit b26c4d88ee

View File

@ -17,7 +17,7 @@ type DocumentTree struct {
BookIdentify string `json:"-"` BookIdentify string `json:"-"`
Version int64 `json:"version"` Version int64 `json:"version"`
State *DocumentSelected `json:"-"` State *DocumentSelected `json:"-"`
AAttrs map[string]interface{} `json:"-"` AAttrs map[string]interface{} `json:"a_attr"`
} }
type DocumentSelected struct { type DocumentSelected struct {
Selected bool `json:"selected"` Selected bool `json:"selected"`