From 6847ff0530f86740e329788236d10ca72eeed758 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 12 Aug 2020 13:14:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9D=9E=20GET=20=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E4=B8=AD=E6=94=AF=E6=8C=81=20url=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/api/test/model/ScenarioModel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/business/components/api/test/model/ScenarioModel.js b/frontend/src/business/components/api/test/model/ScenarioModel.js index 715d08df44..cae30e5ad5 100644 --- a/frontend/src/business/components/api/test/model/ScenarioModel.js +++ b/frontend/src/business/components/api/test/model/ScenarioModel.js @@ -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 += '&';