diff --git a/frontend/src/business/components/api/automation/scenario/api/ApiRelevance.vue b/frontend/src/business/components/api/automation/scenario/api/ApiRelevance.vue index 9bf29fdb91..d28edd5bf2 100644 --- a/frontend/src/business/components/api/automation/scenario/api/ApiRelevance.vue +++ b/frontend/src/business/components/api/automation/scenario/api/ApiRelevance.vue @@ -86,6 +86,12 @@ this.$refs.relevanceDialog.close(); }, open() { + if (this.$refs.apiList) { + this.$refs.apiList.clearSelection(); + } + if (this.$refs.apiCaseList) { + this.$refs.apiCaseList.clearSelection(); + } this.$refs.relevanceDialog.open(); }, isApiListEnableChange(data) { 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 e7ff7740f0..c5a3d87d92 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -1,75 +1,78 @@ + + diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 79e9d1a14b..abefb2d306 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -127,6 +127,9 @@ export default { validate: "Validate", batch_add: "Batch add", check_project_tip: "Create or select the project first", + table: { + select_tip: "Item {0} data is selected" + }, date: { select_date: 'Select date', start_date: 'Start date', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index d012000f9c..a6ad062ea0 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -127,6 +127,9 @@ export default { validate: "校验", batch_add: "批量添加", check_project_tip: "请先创建或选择项目", + table: { + select_tip: "已选中 {0} 条数据" + }, date: { select_date: '选择日期', start_date: '开始日期', diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index ced32bb942..7c785862be 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -127,6 +127,9 @@ export default { validate: "校驗", batch_add: "批量添加", check_project_tip: "請先創建或選擇項目", + table: { + select_tip: "已选中 {0} 条数据" + }, date: { select_date: '選擇日期', start_date: '開始日期',