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(); ApiScenarioReportResult item = iterator.next();
String result = new String(item.getContent(), StandardCharsets.UTF_8); String result = new String(item.getContent(), StandardCharsets.UTF_8);
if (StringUtils.isNotBlank(result)) { if (StringUtils.isNotBlank(result)) {
Boolean isNoStep = JSONObject.parseObject(result).getBoolean("isNoStep"); Boolean isNoStep = JSONObject.parseObject(result).getBoolean("isNotStep");
if (BooleanUtils.isTrue(isNoStep)) { if (BooleanUtils.isTrue(isNoStep)) {
iterator.remove(); iterator.remove();
} }

View File

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