提交 043244eb 编写于 作者: L lang

Model#isEmpty

上级 d0519cc2
......@@ -80,6 +80,13 @@ define(function (require) {
return new Model(obj, parentModel && parentModel.getModel(path));
},
/**
* If model has option
*/
isEmpty: function () {
return this.option == null;
},
restoreData: function () {},
// Pending
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册