📌  相关文章
📜  如何在javascript代码示例中更改url路径

📅  最后修改于: 2022-03-11 15:04:09.183000             🧑  作者: Mango

代码示例1
var newURL = window.location.protocol + "//" + window.location.host + "/" + window.location.pathname + window.location.search