1. window.location.reload(), refresh the page, do not submit the page repeatedly.
2. window.location.href=window.location.href, refresh the page, do not submit the page repeatedly.
3、location = location
4. location.replace(location.href), refresh the page, do not submit the page repeatedly.
5. window.location.replace(location), redirect a page, it can also be the current page.
6. window.opener.location.reload(); The parent page is refreshed and loaded, that is, when a page opens a new page, it can reload the parent page on the child page.