window.location.href 代表的是当前网址(即URL),如果修改为其他网址的地址,结果就是会跳转页面。
JavaScript页面跳转
猜你喜欢
转载自blog.csdn.net/weixin_44041700/article/details/90517128
今日推荐
周排行