Przeglądaj źródła

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

lifei6671 7 lat temu
rodzic
commit
b26c4d88ee
1 zmienionych plików z 1 dodań i 1 usunięć
  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"`