Browse Source

Merge branch 'fix/process.opinion_save_exectipion' into 'develop'

Merge of fix/process.opinion_save_exectipion to develop

See merge request o2oa/o2oa!1167
蔡祥熠 5 years ago
parent
commit
9ddcb2cc8b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      o2web/source/x_component_process_Xform/Form.js

+ 3 - 1
o2web/source/x_component_process_Xform/Form.js

@@ -900,7 +900,9 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
 
 
                     var key = layout.desktop.session.user.id;
                     var key = layout.desktop.session.user.id;
                     if( typeOf( data[id] ) === "object" && typeOf(data[id][key])==="string" ){
                     if( typeOf( data[id] ) === "object" && typeOf(data[id][key])==="string" ){
-                        delete data[id][key]
+                        data[id][key]= "";
+                    }else if( typeOf( data[id] ) === "string" ){
+                        data[id] = "";
                     }
                     }
                     // delete data[id];
                     // delete data[id];
                 } else {
                 } else {