Pārlūkot izejas kodu

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

lifei6671 7 gadi atpakaļ
vecāks
revīzija
b26c4d88ee
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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"`