fix(测试跟踪): 测试用例导出报错

This commit is contained in:
chenjianxing 2020-11-04 12:35:38 +08:00
parent 26ba9a93ea
commit 66fb90d8fb

View File

@ -457,7 +457,7 @@ public class TestCaseService {
if (t.getMethod().equals("manual")) {
String steps = t.getSteps();
String setp = "";
if (steps.contains("null")) {
if (steps.contains("null") && !steps.contains("\"null\"")) {
setp = steps.replace("null", "\"\"");
} else {
setp = steps;