JavaScript窗口Window.location和Window.open区别 window.location = "http://test.com" 跳转后有后退功能window.location.replace("http://www.test.com") 跳转后没有后退功能window.open("http://www.test.com") 要新的窗口打开链接