js中 urlencode编码 encodeURIComponent(编码的具体内容) 解码 decodeURIComponent(解码码的具体内容) 原理:对URL的组成部分进行个别编码,而不用于对整个URL进行编码
let ds=encodeURIComponent("kkddd+")
特殊字符的处理完毕之后,后端需要处理才行
js中 urlencode编码 encodeURIComponent(编码的具体内容) 解码 decodeURIComponent(解码码的具体内容) 原理:对URL的组成部分进行个别编码,而不用于对整个URL进行编码
let ds=encodeURIComponent("kkddd+")
特殊字符的处理完毕之后,后端需要处理才行