提交 ea5107e4 编写于 作者: 蔡祥熠

Merge branch 'fix/Selector' into 'develop'

Merge of fix/Selector 修复选人可能的问题 to develop

See merge request o2oa/o2oa!382
......@@ -5011,7 +5011,7 @@ MWF.xScript.ViewEnvironment = function (ev) {
* var table = new this.Table("table1");
*
* //查询字段name等于zhangsan的数据,结果按updateTime倒序
* table.listRowSelect( "o.name='zhangsan", "o.updateTime desc", 20, function(data){
* table.listRowSelect( "o.name='zhangsan'", "o.updateTime desc", 20, function(data){
* //data 形如
* //{
* // "type": "success",
......
......@@ -1115,7 +1115,7 @@ MWF.xApplication.Selector.Person = new Class({
var selecteditem = this._newItemSelected(v, this, null);
this.selectedItems.push(selecteditem);
if(this.addToSelectedItemsMap)this.addToSelectedItemsMap(v, selecteditem);
}else{
}else if( typeOf(v)==="string" ){
this._getItem(function(json){
if( !json || !json.data )return;
this.options.values[i] = json.data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册