Explorar o código

数据网格异步返回值变量对应错误

huqi %!s(int64=5) %!d(string=hai) anos
pai
achega
1607886b54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      o2web/source/x_component_process_Xform/$Input.js

+ 1 - 1
o2web/source/x_component_process_Xform/$Input.js

@@ -285,7 +285,7 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
         //         this.moduleValueAG = null;
         //     }.bind(this));
         // }else{
-        if (o2.typeOf(value.then)=="function"){
+        if (o2.typeOf(data.then)=="function"){
             var p = o2.promiseAll(data).then(function(v){
                 this.__setValue(v);
             }.bind(this));