提交 7f9a3fbd 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'cherry-pick-9b5f2574' into 'wrdp'

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

See merge request o2oa/o2oa!1909
......@@ -3946,10 +3946,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);
......@@ -3962,8 +3960,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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册