fix: 测试用例模块树拖拽报错

This commit is contained in:
chenjianxing 2021-02-19 17:44:29 +08:00
parent bdf11d09aa
commit a15ab8b8c6
1 changed files with 4 additions and 0 deletions

View File

@ -405,6 +405,10 @@ public class TestCaseNodeService extends NodeTreeService<TestCaseNodeDTO> {
TestCaseNodeDTO nodeTree = request.getNodeTree();
if (nodeTree == null) {
return;
}
List<TestCaseNode> updateNodes = new ArrayList<>();
buildUpdateTestCase(nodeTree, testCases, updateNodes, "/", "0", 1);