Przeglądaj źródła

修复数据网格的问题

unknown 4 lat temu
rodzic
commit
de279560cc

+ 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 );
 						}