|
|
@@ -4306,6 +4306,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) {
|