URL转码

decodeURIComponent(data).replace(/\+/g,' ');


decodeURIComponent(res.data.data).replace(/\+/g,' ').replace(/&lt;/g,'<').replace(/&gt;/g,'>');

 

posted @ 2017-08-17 15:54  吕岳阳  阅读(162)  评论(0编辑  收藏  举报