fix
zhangqian
2024-03-26 3e2e0ba01b514a55e09eb088300967f14f163688
controllers/location.go
@@ -103,7 +103,10 @@
            tree = append(tree, location)
            continue
         }
         m[location.ParentId].Children = make([]*models.Location, 0)
         if m[location.ParentId].Children == nil {
            m[location.ParentId].Children = make([]*models.Location, 0)
         }
         m[location.ParentId].Children = append(m[location.ParentId].Children, location)
      }
   }