A click on the Close button to close the page after the page when they click B B operates the following page A page refresh

<button onclick="windowClose()">关闭窗口</button>
	function windowClose() {
				window.close()
				window.opener.location.reload();
			};
			

Guess you like

Origin blog.csdn.net/weixin_43565820/article/details/90546208