Browse Source

修复钉钉工作页面处理完成后无法关闭的bug

fancy 5 years ago
parent
commit
9b5f2574ef
1 changed files with 0 additions and 4 deletions
  1. 0 4
      o2web/source/x_component_process_Xform/Form.js

+ 0 - 4
o2web/source/x_component_process_Xform/Form.js

@@ -3944,10 +3944,8 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
         //新建检查
         this.workAction.checkDraft(this.businessData.work.id, function (json) {
             // var str = JSON.stringify(json);
-
             _self.finishOnMobileReal();
         }.bind(this), function () {
-
             _self.finishOnMobileReal();
         }, false);
 
@@ -3960,8 +3958,6 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
             window.webkit.messageHandlers.closeWork.postMessage("");
         } else if (window.wx && window.__wxjs_environment === 'miniprogram') { //微信小程序 关闭页面
             wx.miniProgram.navigateBack({ delta: 1 });
-        } else if (window.wx) { //微信关闭 当前页面
-            wx.closeWindow();
         } else {
             var len = window.history.length;
             if (len > 1) {