fix: 非 GET 请求中支持 url 参数

This commit is contained in:
Captain.B 2020-08-12 13:14:38 +08:00
parent 42a3f7261b
commit 6847ff0530
1 changed files with 2 additions and 0 deletions

View File

@ -722,6 +722,8 @@ class JMXHttpRequest {
});
for (let i = 0; i < parameters.length; i++) {
let parameter = parameters[i];
// 非 GET 请求中出现了 url 参数
parameter.value = calculate(parameter.value);
path += (parameter.name + '=' + parameter.value);
if (i !== parameters.length - 1) {
path += '&';