Sfoglia il codice sorgente

修复数据网格的问题

unknown 5 anni fa
parent
commit
de279560cc
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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");
 							}
 
-							array.push(text || "");
+							if( !text && typeOf(text) !== "number" ){
+								text = "";
+							}
+
+							array.push( text );
 						}