Przeglądaj źródła

Merge branch 'fix/datagrid_export' into 'wrdp'

Merge of fix/datagrid_export 修复数据网格的问题 to wrdp

See merge request o2oa/o2oa!3016
蔡祥熠 4 lat temu
rodzic
commit
0bc9a72c49

+ 5 - 1
o2web/source/x_component_process_Xform/DatagridPC.js

@@ -1866,7 +1866,11 @@ MWF.xApplication.process.Xform.DatagridPC = new Class(
 								text = module.node.get("text");
 							}
 
-							array.push(text || "");
+							if( !text && typeOf(text) !== "number" ){
+								text = "";
+							}
+
+							array.push( text );
 						}