猫鼬的人口价值不会改变吗?

时间:2017-02-26 12:41:26

标签: node.js mongodb mongoose

我有一个架构,下面是一个变量:

var node = ReactDOM.findDOMNode(this.refs.el);
node.classList.toggle('menu-open');

变量receiveComments:[{ whoComment:{ type:ObjectId, ref:'Student' }, whichHelp:{ type:ObjectId, ref:"Help" }, whichComment:{ type:ObjectId, ref:"Comment" } }], 中的一个是关于whichComment模式的相对,Comment模式有一个如下变量:

Comment

当我通过修改have_saw: { type:Boolean, default:false }, 人口将have_saw更改为true时,之后我保存了。 但是当我得到whichComment值时,它仍然是假的,因此它表示我没有成功更改have_saw值。 那么,发生了什么?

have_saw

0 个答案:

没有答案