javascript --- 页面跳转

页面跳转

window.location.href = "http://localhost:8092/" //window.location.href = url

页面跳转并保留跳转的页面,创建了新的窗口

window.open("http://localhost:8092/", '_blank') //window.open(url, '_blank')

你可能感兴趣的:(React,vue,#,Vue3,javascript,开发语言,ecmascript)