Selaa lähdekoodia

修复数据网格的问题

unknown 4 vuotta sitten
vanhempi
commit
de279560cc
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      o2web/source/x_component_process_Xform/DatagridPC.js

+ 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");
 								text = module.node.get("text");
 							}
 							}
 
 
-							array.push(text || "");
+							if( !text && typeOf(text) !== "number" ){
+								text = "";
+							}
+
+							array.push( text );
 						}
 						}