diff --git a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue index 81421a1bbc..23f3a945db 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/EditConstant.vue @@ -30,11 +30,6 @@ this.$refs.nameInput.focus(); }); }, - watch: { - editData() { - this.$refs.nameInput.focus(); - } - } } diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index b6f86c8132..2566b9da09 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -288,7 +288,6 @@ url = "/api/testcase/update"; } else { tmp.request.path = this.api.path; - tmp.request.method = this.api.method; } if (tmp.tags instanceof Array) { tmp.tags = JSON.stringify(tmp.tags);