dojo中 xhr.post向后台传参出现乱码
在js文件中加入headers: { "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"}, var content = {"field":"参数名称"};xhr.post({ url : config.contextPath+"/getData/showfields", handleAs :...
原创
2018-10-24 15:15:18 ·
413 阅读 ·
0 评论