ソースを参照

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"`