提交 6e701f9b 编写于 作者: X xiaoyucoding

fix: 修复 request 参数间隔符错误的问题

上级 d19275ef
......@@ -36,7 +36,7 @@ function setUrl (url, data) {
query[encodeURIComponent(key)] = encodeURIComponent(data[key])
}
}
query = Object.keys(query).map(item => `${item}=${query[item]}`).join('$')
query = Object.keys(query).map(item => `${item}=${query[item]}`).join('&')
return url + (query ? '?' + query : '') + (hash ? '#' + hash : '')
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册