diff --git a/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue b/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue index 9ec1bdc596..18db1b9535 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue @@ -61,6 +61,14 @@
{{ $t('api_test.api_import.export_tip') }}:{{ selectedPlatform.exportTip }}
+
+ + {{ $t('api_test.api_import.import_cover_tip') }}
+ {{ $t('api_test.api_import.cover_tip_1') }}
+ {{ $t('api_test.api_import.cover_tip_2') }}
+ {{ $t('api_test.api_import.cover_tip_3') }} +
+
diff --git a/frontend/src/business/components/api/definition/components/import/ApiImport.vue b/frontend/src/business/components/api/definition/components/import/ApiImport.vue index 268192361d..93000cbb50 100644 --- a/frontend/src/business/components/api/definition/components/import/ApiImport.vue +++ b/frontend/src/business/components/api/definition/components/import/ApiImport.vue @@ -82,6 +82,14 @@
{{ $t('api_test.api_import.export_tip') }}:{{ selectedPlatform.exportTip }}
+
+ + {{ $t('api_test.api_import.import_cover_tip') }}
+ {{ $t('api_test.api_import.cover_tip_1') }}
+ {{ $t('api_test.api_import.cover_tip_2') }}
+ {{ $t('api_test.api_import.cover_tip_3') }} +
+
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 7e6e162146..a5d2373682 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -1209,6 +1209,10 @@ export default { next_synchronization_time: "Next synchronization time", ms_env_import_file_limit: "It only supports JSON format files exported through metersphere", file_exceed_limit: "The number of files exceeds the limit", + import_cover_tip: "Import mode: Overwrite mode description", + cover_tip_1: "1. Add if the interface path does not exist", + cover_tip_2: "2. The interface path is consistent with the original interface, if the content is inconsistent, the original interface will be overwritten", + cover_tip_3: "3. If the interface path and content are consistent with the original interface, no change will be made", }, home_page: { unit_of_measurement: "", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index e50249429c..c577ea1d70 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -1217,8 +1217,10 @@ export default { next_synchronization_time: "下次同步时间", ms_env_import_file_limit: "仅支持通过MeterSphere导出的json格式文件", file_exceed_limit: "文件数量超出限制", - - + import_cover_tip: "导入模式: 覆盖模式说明", + cover_tip_1: "1. 接口路径不存在则新增", + cover_tip_2: "2. 接口路径与原接口一致,内容不一致则覆盖原接口", + cover_tip_3: "3. 接口路径、内容与原接口一致则不做变更", }, home_page: { unit_of_measurement: "个", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index e2e2d8796f..a5e916b64f 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -1217,7 +1217,10 @@ export default { next_synchronization_time: "下次同步時間", ms_env_import_file_limit: "僅支持通過MeterSphere導出的json格式文件", file_exceed_limit: "文件數量超出限制", - + import_cover_tip: "导入模式: 覆盖模式说明", + cover_tip_1: "1. 接口路徑不存在則新增", + cover_tip_2: "2. 接口路徑與原接口一致,內容不一致則覆蓋原接口", + cover_tip_3: "3. 接口路徑、內容與原接口一致則不做變更", }, home_page: {