diff --git a/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue b/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue index ad1404f120..d272e61ee9 100644 --- a/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue +++ b/frontend/src/business/components/api/definition/components/debug/DebugHttpPage.vue @@ -68,7 +68,7 @@ method: [{required: true, message: this.$t('test_track.case.input_maintainer'), trigger: 'change'}], url: [{required: true, message: this.$t('api_test.definition.request.path_all_info'), trigger: 'blur'}], }, - debugForm: {method: REQ_METHOD[0].id}, + debugForm: {method: REQ_METHOD[0].id, environmentId: ""}, options: [], responseData: {type: 'HTTP', responseResult: {}, subRequestResults: []}, loading: false, diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index 238486294b..3253450c79 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -138,7 +138,7 @@ {name: this.$t('api_test.definition.request.batch_edit'), handleClick: this.handleEditBatch} ], typeArr: [ - {id: 'status', name: this.$t('api_test.definition.api_case_status')}, + {id: 'status', name: this.$t('api_test.definition.api_status')}, {id: 'method', name: this.$t('api_test.definition.api_type')}, {id: 'userId', name: this.$t('api_test.definition.api_principal')}, ],