没错就下面两行代码就搞定了

text
1 2
 window.opener.location.href=window.opener.location.href; 
 window.close();