mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-03 04:19:37 +08:00
表单支持配置刷新父窗口
This commit is contained in:
parent
2b9aff0aae
commit
77383a4c6c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user