提交 a4ca9e1f 编写于 作者: U unknown

修复选择脚本可能存在的问题

上级 80a3ae72
......@@ -1414,8 +1414,10 @@ debugger;
"count": 0,
"names": typeOf(data)==="array" ? data : [data],
"onChange": function(ids){
var d = ids[0].data;
var data = [];
var name = node.get("name");
if( ids.length > 0 ){
var d = ids[0].data;
ids.each( function (id) {
var d = id.data;
data.push({
......@@ -1429,7 +1431,7 @@ debugger;
"appType" : d.appType
})
});
var name = node.get("name");
}
var oldValue = this.data[name];
this.data[name] = data;
this.changeData(name, node, oldValue);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册