diff --git a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue index 1e7f12716f..4bbf60681e 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiCaseSimpleList.vue @@ -11,6 +11,7 @@ @click="addTestCase" v-if="apiDefinitionId">{{ $t('commons.add') }} { + if (this.$refs.caseTable) { + this.$refs.caseTable.clear(); + } + handleRowDrop(this.tableData, (param) => { + param.groupId = this.condition.projectId; + editApiTestCaseOrder(param); + }); + }) + }); } },