1、使用JavaScript中的location对象location.href:可以设置或获取当前页面的URL,通过将其值设置为新的URL可实现页面跳转,location.href="https://www.exampl...