search:只能取到“?”后面和“#”之前的内容,如果“#”之前没有“?”search取值为空
hash: 第一个"#"之后的内容
Window.location.search和Window.location.hash区别
最新推荐文章于 2024-05-28 14:33:37 发布
search:只能取到“?”后面和“#”之前的内容,如果“#”之前没有“?”search取值为空
hash: 第一个"#"之后的内容