From 855fd795333b362b49be549595ed8f074900fd17 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 19 Mar 2024 15:28:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=93=8D=E4=BD=9C=E6=8A=BD=E5=B1=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api-test/components/condition/content.vue | 16 +++++ .../common/scriptOperationDrawer.vue | 72 ++++++++++++++++++- .../views/api-test/scenario/locale/en-US.ts | 3 + .../views/api-test/scenario/locale/zh-CN.ts | 3 + 4 files changed, 93 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/api-test/components/condition/content.vue b/frontend/src/views/api-test/components/condition/content.vue index 3730841ec9..389887ef7f 100644 --- a/frontend/src/views/api-test/components/condition/content.vue +++ b/frontend/src/views/api-test/components/condition/content.vue @@ -125,6 +125,18 @@
+ + + {{ t('project.commonScript.formatting') }} + diff --git a/frontend/src/views/api-test/scenario/locale/en-US.ts b/frontend/src/views/api-test/scenario/locale/en-US.ts index 20a84092f7..60a65385af 100644 --- a/frontend/src/views/api-test/scenario/locale/en-US.ts +++ b/frontend/src/views/api-test/scenario/locale/en-US.ts @@ -78,4 +78,7 @@ export default { 'api_scenario.recycle.list': 'Recycle list', 'api_scenario.recycle.batchCleanOut': 'Delete', 'api_scenario.table.searchPlaceholder': 'Search by ID/Name/Tag', + + 'apiScenario.scriptOperationName': 'Script operation name', + 'apiScenario.scriptOperationNamePlaceholder': 'Please enter the script operation name', }; diff --git a/frontend/src/views/api-test/scenario/locale/zh-CN.ts b/frontend/src/views/api-test/scenario/locale/zh-CN.ts index 06ac40c6c4..25b7b3ee31 100644 --- a/frontend/src/views/api-test/scenario/locale/zh-CN.ts +++ b/frontend/src/views/api-test/scenario/locale/zh-CN.ts @@ -139,4 +139,7 @@ export default { 'apiScenario.quoteTableSearchTip': '通过路径或名称搜索', 'apiScenario.collapseAll': '收起全部子模块', 'apiScenario.expandAll': '展开全部子模块', + + 'apiScenario.scriptOperationName': '脚本操作名称', + 'apiScenario.scriptOperationNamePlaceholder': '请输入脚本操作名称', };