表单支持配置刷新父窗口

This commit is contained in:
Devil 2021-08-05 18:24:36 +08:00
parent 2b9aff0aae
commit 77383a4c6c

View File

@ -509,7 +509,13 @@ function FromInit(form_name)
Prompt(result.msg, 'success');
setTimeout(function()
{
window.location.reload();
// 等于parent则刷新父窗口
if(request_value == 'parent')
{
parent.location.reload();
} else {
window.location.reload();
}
}, 1500);
break;