fix: UI报告统计错误

This commit is contained in:
chenjianxing 2022-03-30 22:26:20 +08:00 committed by jianxing
parent e19e275fe3
commit f74475f215
2 changed files with 1 additions and 2 deletions

View File

@ -568,7 +568,7 @@ public class ApiScenarioReportStructureService {
ApiScenarioReportResult item = iterator.next();
String result = new String(item.getContent(), StandardCharsets.UTF_8);
if (StringUtils.isNotBlank(result)) {
Boolean isNoStep = JSONObject.parseObject(result).getBoolean("isNoStep");
Boolean isNoStep = JSONObject.parseObject(result).getBoolean("isNotStep");
if (BooleanUtils.isTrue(isNoStep)) {
iterator.remove();
}

View File

@ -142,7 +142,6 @@ export default {
},
props: {
reportId: String,
currentProjectId: String,
infoDb: Boolean,
debug: Boolean,
scenario: {},