版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33485463/article/details/76576370
使用参数将他们放到跳转的地址栏中,去选取
获取地址栏参数:window.location.search,使用split(“&”)和split(“=”)拆分成数组,放到数组中,有中文时,使用decodeURL()进行解码
使用参数将他们放到跳转的地址栏中,去选取
获取地址栏参数:window.location.search,使用split(“&”)和split(“=”)拆分成数组,放到数组中,有中文时,使用decodeURL()进行解码