html文本encode后,js获取参数失败的bug

html中的空格encodeURIComponent后变成%C2%A0,而js中的空格是'%20',二者无法匹配,所以要进行一次替换
posted @ 2018-04-13 10:54  herorest  阅读(133)  评论(0编辑  收藏  举报