fix: 测试用例模块树拖拽报错
This commit is contained in:
parent
bdf11d09aa
commit
a15ab8b8c6
|
@ -405,6 +405,10 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
|
||||||
|
|
||||||
TestCaseNodeDTO nodeTree = request.getNodeTree();
|
TestCaseNodeDTO nodeTree = request.getNodeTree();
|
||||||
|
|
||||||
|
if (nodeTree == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
List<TestCaseNode> updateNodes = new ArrayList<>();
|
List<TestCaseNode> updateNodes = new ArrayList<>();
|
||||||
|
|
||||||
buildUpdateTestCase(nodeTree, testCases, updateNodes, "/", "0", 1);
|
buildUpdateTestCase(nodeTree, testCases, updateNodes, "/", "0", 1);
|
||||||
|
|
Loading…
Reference in New Issue