window.location.search 在url中有?name=value时仍为‘’的情况
摘要:
1,当页面有hash#值 而?name=value在hash #的串后面将会有这种结果 2,为什么 window.location.search 为空? 答:注意上面的search和hash的区别,如果URL中“?”之前有一个“#”比如:“http://localhost:63342/index.h 阅读全文
posted @ 2018-10-26 15:47 凉梁凉糕 阅读(418) 评论(0) 推荐(0)