fix(测试跟踪): 修复测试用例模块未拖拽成功时也会发送请求的问题

This commit is contained in:
shiziyuan9527 2020-10-30 15:43:30 +08:00
parent 2ea919a056
commit 4e911ebb92
2 changed files with 5 additions and 5 deletions

View File

@ -586,12 +586,9 @@ public class TestCaseNodeService {
}
/**
* 测试用例同级模块排序
* @param ids
*/
// 测试用例同级模块排序
public void sort(List<String> ids) {
// 获取同级相邻节点
// 获取相邻节点
String before = ids.get(0);
String id = ids.get(1);
String after = ids.get(2);

View File

@ -108,6 +108,9 @@ export default {
},
methods: {
handleDragEnd(draggingNode, dropNode, dropType, ev) {
if (dropType === "none" || dropType === undefined) {
return;
}
let param = this.buildParam(draggingNode, dropNode, dropType);
this.list = [];