提交 77383a4c 编写于 作者: D Devil

表单支持配置刷新父窗口

上级 2b9aff0a
...@@ -509,7 +509,13 @@ function FromInit(form_name) ...@@ -509,7 +509,13 @@ function FromInit(form_name)
Prompt(result.msg, 'success'); Prompt(result.msg, 'success');
setTimeout(function() setTimeout(function()
{ {
// 等于parent则刷新父窗口
if(request_value == 'parent')
{
parent.location.reload();
} else {
window.location.reload(); window.location.reload();
}
}, 1500); }, 1500);
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册