前端传特殊字符参数给后台,传输过程中特殊字符参数变成空格

url = "http://hk.html?id=" + encodeURIComponent(str);

 

posted @ 2022-11-30 15:42  srqsl  阅读(154)  评论(0编辑  收藏  举报