提交 3c4e0800 编写于 作者: 蔡祥熠

Merge branch 'fix/Process.redirect_mobile' into 'release'

Merge of fix/Process.redirect_mobile 修复移动端流转后重定向的问题 to release

See merge request o2oa/o2oa!2876
......@@ -4309,6 +4309,9 @@ 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 (this.json.afterProcessAction === "redirect" && this.json.afterProcessRedirectScript && this.json.afterProcessRedirectScript.code) {
var url = this.Macro.exec(this.json.afterProcessRedirectScript.code, this);
(new URI(url)).go();
} 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.
先完成此消息的编辑!
想要评论请 注册