From a652f13cfcbcc24619afd0902a9a9d550d4382ba Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Fri, 16 Dec 2022 10:08:16 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E5=AF=BC=E5=85=A5=E6=96=87=E6=A1=88?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020874 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020874 --- .../automation/scenario/common/ScenarioImport.vue | 13 +++++-------- .../sdk-parent/frontend/src/i18n/lang/en-US.js | 8 ++++++-- .../sdk-parent/frontend/src/i18n/lang/zh-CN.js | 4 ++++ .../sdk-parent/frontend/src/i18n/lang/zh-TW.js | 4 ++++ 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/api-test/frontend/src/business/automation/scenario/common/ScenarioImport.vue b/api-test/frontend/src/business/automation/scenario/common/ScenarioImport.vue index 4c7df0920b..a68d3b3fdf 100644 --- a/api-test/frontend/src/business/automation/scenario/common/ScenarioImport.vue +++ b/api-test/frontend/src/business/automation/scenario/common/ScenarioImport.vue @@ -23,7 +23,7 @@ - + @@ -37,8 +37,8 @@ checkStrictly /> - - + + {{ this.$t('commons.cover_scenario') }} @@ -56,7 +56,7 @@ @@ -65,7 +65,7 @@ @@ -426,9 +426,6 @@ export default { margin-left: 10px; } -.el-form { - padding: 30px 10px; -} .dialog-footer { float: right; diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index 2a4d49b357..76b9b68a89 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -1915,10 +1915,14 @@ const message = { no_cover_tip_scenario_1: "1. The same Scenario that already exists in the system will not be changed", no_cover_tip_scenario_2: "2. Add Scenario that do not exist in the system", import_version: 'Import version', - data_update_version: 'New API created to', - data_new_version: 'The same API is updated to', + data_update_version: 'The same API is updated to', + data_new_version: 'New API created to', latest_version: 'Latest version', }, + scenario_import: { + data_update_version: 'The same Scenario is updated to', + data_new_version: 'New Scenario created to', + }, home_page: { unit_of_measurement: "", unit_of_count: "", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index ac256aebe2..a150cdd29d 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -1928,6 +1928,10 @@ const message = { data_new_version: '新增API创建到', latest_version: '最新版本', }, + scenario_import: { + data_update_version: '同一场景更新到', + data_new_version: '新增场景创建到', + }, home_page: { unit_of_measurement: "个", unit_of_count: "个", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 70e606f129..4fe159e85a 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -1924,6 +1924,10 @@ const message = { data_new_version: '新增API創建到', latest_version: '最新版本', }, + scenario_import: { + data_update_version: '同一場景更新到', + data_new_version: '新增場景創建到', + }, home_page: { unit_of_measurement: "個", unit_of_count: "個",