当前页面跳转网页,新打开和在本页面打开

替换原页面:

window.location.href="";

新打开一个页面:

window.open('');

原文地址:https://www.cnblogs.com/lr-blog/p/5440026.html