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 9877262207..ea1c637457 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -418,6 +418,7 @@ export default { if (tmp.id) { url = "/api/testcase/update"; } else { + tmp.request.id = getUUID(); tmp.id = tmp.request.id; tmp.request.path = this.api.path; if (tmp.request.protocol != "dubbo://" && tmp.request.protocol != "DUBBO") {