JS中如何将页面重定向到另一个页面?
时间:2020-12-17 13:00:07
收藏:0
阅读:4
a、使用 location.href:window.location.href =“https://www.baidu.com/”
b、使用location.replace:window.location.replace(" https://www.baidu.com/;");
评论(0)