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

Merge branch 'fix/custom_view_fix' into 'develop'

Merge of fix/[数据中心]修复视图某些情况下使用setFilter方法报错的问题 to develop

See merge request o2oa/o2oa!189
...@@ -1104,7 +1104,9 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({ ...@@ -1104,7 +1104,9 @@ MWF.xApplication.query.Query.Viewer = MWF.QViewer = new Class({
if( !filter )filter = []; if( !filter )filter = [];
if( typeOf( filter ) === "object" )filter = [ filter ]; if( typeOf( filter ) === "object" )filter = [ filter ];
this.json.filter = filter; this.json.filter = filter;
this.createViewNode({"filterList": this.json.filter ? this.json.filter.clone() : null}); if( this.viewAreaNode ){
this.createViewNode({"filterList": this.json.filter ? this.json.filter.clone() : null});
}
}, },
switchView : function( json ){ switchView : function( json ){
debugger; debugger;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册