if(window.opener){ window.opener.location.reload(); window.close(); }io
若是当前窗口是由另外一个窗口打开的, window.opener保留了那个窗口的引用. 若是当前窗口不是由其余窗口打开的, 则该属性返回 null.引用