494410
var schemaA = new schema({ ... }) var schemaB = new schema({ ...., A:schemaA }) 我试着这样写schema。 结果报错: Did you try nesting Schemas? You can only nest using refs or arrays. 然后我试着这样写 var schemeB = new schema({ ..., A:[schemaA] }) 这样是成功的,但是不是我想要的结果。 这个refs 是指引用么, 我该怎么写了 。 请各位大神指点