//新sheet打开 var c = window.open("https://www.baidu.com/"); alert("打开了百度");
当前界面打开 //window.location.href = "https://www.baidu.com/";
转载于:https://www.cnblogs.com/lhlong/p/10690385.html