提交 436fa031 编写于 作者: doc_wei's avatar doc_wei

解决ajax提交时,+和&符号被转成空格为题

上级 4218a39d
......@@ -657,7 +657,7 @@ var AjaxPostUtil = {
var paramsArray = [];
var params = this.options.params;
for(var pro in params) {
var paramValue = params[pro];
var paramValue = params[pro].replace(/\+/g, "%2B").replace(/\&/g, "%26");
/*if(this.options.method.toUpperCase() === "GET")
{
paramValue = encodeURIComponent(params[pro]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册