涉及到url修改的问题

window.location="/index.html"  //修改当前页面的URL

window.open("http://www.w3school.com.cn")  // 打开一个新页面

你可能感兴趣的:(涉及到url修改的问题)