提交 a623dc6f 编写于 作者: S sunag

fix context

上级 d377d388
......@@ -275,7 +275,7 @@ NodeBuilder.prototype = {
addContext: function ( context ) {
this.context = Object.assign( this.context || {}, context || {} );
this.context = Object.assign( {}, this.context || {}, context || {} );
this.contexts.push( this.context );
return this;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册