fix: 接口用例列表自定义排序不生效
This commit is contained in:
parent
31ced8754a
commit
8d53378626
|
@ -11,6 +11,7 @@
|
|||
@click="addTestCase" v-if="apiDefinitionId">{{ $t('commons.add') }}
|
||||
</el-button>
|
||||
<ms-table
|
||||
v-loading="result.loading"
|
||||
:data="tableData"
|
||||
:select-node-ids="selectNodeIds"
|
||||
:condition="condition"
|
||||
|
@ -585,6 +586,17 @@ export default {
|
|||
isNext = true;
|
||||
}
|
||||
});
|
||||
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.caseTable) {
|
||||
this.$refs.caseTable.clear();
|
||||
}
|
||||
handleRowDrop(this.tableData, (param) => {
|
||||
param.groupId = this.condition.projectId;
|
||||
editApiTestCaseOrder(param);
|
||||
});
|
||||
})
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue