提交 521a1cb2 编写于 作者: L lang

getModel bug fix when having parentModel

上级 e512eece
......@@ -83,7 +83,7 @@ define(function (require) {
getModel: function (path) {
var obj = this.get(path);
var parentModel = this.parentModel;
return new Model(obj, parentModel && parentModel.get(path));
return new Model(obj, parentModel && parentModel.getModel(path));
},
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册