fix(测试跟踪): 修复测试用例模块未拖拽成功时也会发送请求的问题
This commit is contained in:
parent
2ea919a056
commit
4e911ebb92
|
@ -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);
|
||||
|
|
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue