diff --git a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue index cef6cefeb8..22b0634fc8 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/VariableList.vue @@ -473,7 +473,7 @@ export default { } let repeatKey = ""; this.variables.forEach((item) => { - if (item.name === this.editData.name) { + if (item.name === this.editData.name && item.id !== this.editData.id) { repeatKey = item.name; } }); 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 b83fed10f6..96c1652271 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -181,7 +181,6 @@ prop="caseStatus" :fields-width="fieldsWidth" min-width="100px" - :filters="caseStatusFilters" :label="$t('api_test.definition.api_case_status')"/>