提交 a19a0e03 编写于 作者: U unknown

修复Org组件返回空值出错的问题

上级 30a42cc4
......@@ -83,6 +83,11 @@ MWF.xApplication.Selector.Person = new Class({
this.subCategorys = []; //直接的分类
this.subItems = []; //直接的选择项
if( !this.options.values ){
this.options.values = [];
}
this._init();
},
_init : function(){
......
......@@ -276,7 +276,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
if( this.selectTypeList.length === 0 )return false;
var values = this.getInputData();
var values = this.getInputData() || [];
var exclude = [];
if( this.json.exclude ){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册