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 1a234e7aeb..d36dc7b8a7 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue @@ -25,7 +25,7 @@ - + @@ -173,7 +173,11 @@ export default { moduleId: '', coverModule: false }, - rules: {}, + rules: { + modeId: [ + {required: true, message: this.$t('commons.please_select_import_mode'), trigger: 'change'}, + ], + }, currentModule: {}, fileList: [], moduleObj: { @@ -203,9 +207,6 @@ export default { } }, computed: { - isHar() { - return this.selectedPlatformValue === 'Har'; - }, projectId() { return getCurrentProjectID(); }, 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 fe670a1287..0d388da001 100644 --- a/frontend/src/business/components/api/definition/components/import/ApiImport.vue +++ b/frontend/src/business/components/api/definition/components/import/ApiImport.vue @@ -56,10 +56,9 @@ - {{ $t('test_track.case.import.download_template') }} - + + {{ $t('test_track.case.import.download_template') }} +