浏览代码

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

lifei6671 7 年之前
父节点
当前提交
b26c4d88ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/DocumentTree.go

+ 1 - 1
models/DocumentTree.go

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