提交 53a3e166 编写于 作者: 蔡祥熠

Merge branch 'fix/statement_env' into 'develop'

Merge of fix/statement_env 修复数据发布节点可能报错的问题 to develop

See merge request o2oa/o2oa!842
......@@ -534,14 +534,14 @@ MWF.xApplication.process.ProcessDesigner.Property = new Class({
var resultKey = node.get("data-result-key");
var data;
if( resultKey ){
var d = this.data[node.get("name")];
var d = this.data[node.get("name")] || [];
data = ( o2.typeOf( d ) === "array" ? d : [d] ).map(function(i){
var obj = {};
obj[ resultKey ] = i;
return obj;
});
}else{
data = this.data[node.get("name")];
data = this.data[node.get("name")] || [];
}
new MWF.xApplication.process.ProcessDesigner.widget.PersonSelector(node, this.process.designer, {
"type": "CMSCategory",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册