https://www.cnblogs.com/yw-ah/p/9204551.html
escape(string);
unescape(string);
encodeURI(string);
decodeURI(string);
encodeURIComponent(string);
decodeURIComponent(string);
后来因为json数据里面有#号导致数据传输被截取,改为encodeURIComponent就解决了。
https://www.cnblogs.com/yw-ah/p/9204551.html
escape(string);
unescape(string);
encodeURI(string);
decodeURI(string);
encodeURIComponent(string);
decodeURIComponent(string);
后来因为json数据里面有#号导致数据传输被截取,改为encodeURIComponent就解决了。