decodeURIComponent()函数可对encodeURIComponent()函数编码的URI进行解码。 用法:decodeURIComponent(URIstring) URIstring必需。一个字符串,含有编码 URI 组件或其他要解码的文本。 encodeURIComponent() 函数 作用:可把字符串作为URI 组件进行编码。其返回值URIstring 的副本,其中的某些字符将被十六进制的转义序列进行替换。