Przeglądaj źródła

修复数据网格

unknown 5 lat temu
rodzic
commit
f55bf95204
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      o2web/source/x_component_process_Xform/Org.js

+ 1 - 1
o2web/source/x_component_process_Xform/Org.js

@@ -1216,7 +1216,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class(
         }.bind(this), function(){});
 
         this.moduleValueAG = Promise.resolve(p);
-        if (p & p.then) p.then(function(){
+        if (p && p.then) p.then(function(){
             this.moduleValueAG = null;
         }.bind(this), function(){
             this.moduleValueAG = null;