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

Merge branch 'hotfix/statement_export' into 'master'

Merge of hotfix/statement_export 修复查询视图导出数字0为空的问题 to master

See merge request o2oa/o2oa!1090
......@@ -688,9 +688,12 @@ MWF.xApplication.query.Query.Statement = MWF.QStatement = new Class({
if ((/(^[1-9]\d*$)/.test(p))) p = p.toInt();
if (obj[p]) {
obj = obj[p];
} else {
} else if(obj[p] === undefined || obj[p] === null) {
obj = "";
break;
} else {
obj = obj[p];
break;
}
}
return obj
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册