1.在当前窗口打开
window.location.href = `http://www.xxxxx.com/Web/Index`
//携带参数
window.open(`http://xxxxxx:8080?username=${username}&token=${token}`)
2.在新的窗口打开
window.open(`http://www.xxxx.com/Web/Index`) ;
1.在当前窗口打开
window.location.href = `http://www.xxxxx.com/Web/Index`
//携带参数
window.open(`http://xxxxxx:8080?username=${username}&token=${token}`)
2.在新的窗口打开
window.open(`http://www.xxxx.com/Web/Index`) ;