JavaScript编码转换函数的使用
decodeURIComponent("编码")
将编码进行反转义成可读字符串
encodeURIComponent("骑手管理")
将可读字符串转义成编码
decodeURL 和 encodeURL 是转义整个URI
decodeURL 会将url中的所有编码转成可读字符串
encodeURL 会将url中的所有可读字符串转成编码
decodeURIComponent("编码")
将编码进行反转义成可读字符串
encodeURIComponent("骑手管理")
将可读字符串转义成编码
decodeURL 和 encodeURL 是转义整个URI
decodeURL 会将url中的所有编码转成可读字符串
encodeURL 会将url中的所有可读字符串转成编码