From 0d297aada9850e6eceb418e07d5d1610817f0bef Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 24 Mar 2021 10:30:11 +0800 Subject: [PATCH 1/8] =?UTF-8?q?fix:=20=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=94=A8=E4=BE=8B=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/commons/utils/ScriptEngineUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/commons/utils/ScriptEngineUtils.java b/backend/src/main/java/io/metersphere/commons/utils/ScriptEngineUtils.java index 599d1b5234..2e2431d32d 100644 --- a/backend/src/main/java/io/metersphere/commons/utils/ScriptEngineUtils.java +++ b/backend/src/main/java/io/metersphere/commons/utils/ScriptEngineUtils.java @@ -22,7 +22,8 @@ public class ScriptEngineUtils { } } - public static String calculate(String input) { + // graal.js 禁止多线程同时访问,加上 synchronized + public synchronized static String calculate(String input) { try { return engine.eval("calculate('" + input + "')").toString(); } catch (ScriptException e) { From bfe6e732d572c329ce479d66d31d3546e9d13c43 Mon Sep 17 00:00:00 2001 From: BugKing Date: Wed, 24 Mar 2021 10:32:15 +0800 Subject: [PATCH 2/8] =?UTF-8?q?style(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA)?= =?UTF-8?q?:=20=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=94=A8=E5=8A=9B=E5=88=97=E8=A1=A8=E6=A0=87=E7=AD=BE=E5=88=97?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan/view/comonents/functional/FunctionalTestCaseList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue index 9fbc3cafb5..0be1a249c8 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue @@ -93,7 +93,7 @@ :key="index" > From 53fb641a10aef6d9bffe1f308bf19a255dc0bbae Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Wed, 24 Mar 2021 11:09:54 +0800 Subject: [PATCH 3/8] =?UTF-8?q?refactor:=20=E8=A7=A3=E5=86=B3=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=8B=96=E6=8B=BD=E5=AF=BC=E8=87=B4esb=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=93=8D=E5=BA=94=E8=A1=A8=E6=A0=BC=E6=96=AD=E8=A1=8C?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决页面拖拽导致esb请求响应表格断行的问题 参数名的宽度稍微增加;取消描述字段的长度限制,改为最小长度 --- frontend/src/business/components/xpack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 07951ba17a..95a9d5c21a 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 07951ba17aef6f29e50cfd68e40de3266f9a60cd +Subproject commit 95a9d5c21af6a664b22ecc85cda6935ea706f623 From d4f813decda53189b170c63da3a19c2f01f1ac17 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 24 Mar 2021 11:15:16 +0800 Subject: [PATCH 4/8] =?UTF-8?q?refactor:=20=E5=85=B3=E8=81=94=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E7=94=A8=E4=BE=8B=E6=90=9C=E7=B4=A2=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/api/RelevanceApiList.vue | 2 +- .../track/plan/view/comonents/api/TestPlanCaseListHeader.vue | 2 +- frontend/src/i18n/en-US.js | 1 + frontend/src/i18n/zh-CN.js | 1 + frontend/src/i18n/zh-TW.js | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue index d41d84b82a..4e706b04ed 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -6,7 +6,7 @@ - +