1.后台编码 URLEncoder.encode(type.getTypename(), "utf-8") 2.前台解码 decodeURI(data.typename) 转载于:https://www.cnblogs.com/luoxiaolei/p/5292134.html