huqi 5 лет назад
Родитель
Сommit
eb37c3841d

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

@@ -211,7 +211,7 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
             }.bind(this));
         }else{
             this.moduleValueAG = null;
-            this.__setValue(v);
+            this.__setValue(value);
         }
 
             //this.__setValue(value);
@@ -295,7 +295,7 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
             }.bind(this));
         }else{
             this.moduleValueAG = null;
-            this.__setValue(v);
+            this.__setValue(data);
         }
             //this.__setData(data);
         //}

+ 13 - 1
o2web/source/x_desktop/res/config/config.json

@@ -19,5 +19,17 @@
     "enable": false,
     "portal": "b82d7669-85d6-4c10-8151-c4d1f18ba6ef",
     "page": ""
+  },
+  "mock": {
+    "x_processplatform_assemble_surface": {
+      "put": {
+        "to": "post",
+        "append": "mockputtopost"
+      },
+      "delete": {
+        "to": "get",
+        "append": "mockdeletetoget"
+      }
+    }
   }
-}
+}