// 1、在原窗口中直接跳转,使用:
window.location.href = "url";
// 2、返回上一页,使用:
window.history.back(-1);