摘要: 用Location对象和history对象修改页面url 1.通过hash属性更改url Location 对象包含有关当前 URL 的信息 Location.hash是URL的锚部分Location.href是完整的URL 通过hash来更改url location.hash = "newhash 阅读全文
posted @ 2022-12-07 15:11 鸭梨的药丸哥 阅读(120) 评论(0) 推荐(0)