提交 5bae9b40 编写于 作者: 郭胜强

解决GET请求url拼接格式不规范导致某些服务器无法识别参数的问题

上级 fd753df8
......@@ -33,7 +33,7 @@ function setUrl (url, data) {
if (query.match(reg)) {
query.replace(reg, '$1' + valEncode)
} else {
query += '&' + keyEncode + '=' + valEncode
query += (query.length ? '&' : '') + keyEncode + '=' + valEncode
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册