fix: 脑图编辑用例会清楚标签

--bug=1013352 --user=陈建星 【测试跟踪】github# 13783 脑图新增用例操作步骤后,已经保存的标签会被清除 https://www.tapd.cn/55049933/s/1164680
This commit is contained in:
chenjianxing 2022-05-26 13:47:35 +08:00 committed by jianxing
parent 10228087ef
commit ae9e27ead9
1 changed files with 1 additions and 0 deletions

View File

@ -1926,6 +1926,7 @@ public class TestCaseService {
}
EditTestCaseRequest editRequest = new EditTestCaseRequest();
BeanUtils.copyBean(editRequest, item);
editRequest.setTags(null);
editTestCase(editRequest);
changeOrder(item, request.getProjectId());
lastAddId = null;