fix: UI报告统计错误
This commit is contained in:
parent
e19e275fe3
commit
f74475f215
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,7 +142,6 @@ export default {
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
reportId: String,
|
reportId: String,
|
||||||
currentProjectId: String,
|
|
||||||
infoDb: Boolean,
|
infoDb: Boolean,
|
||||||
debug: Boolean,
|
debug: Boolean,
|
||||||
scenario: {},
|
scenario: {},
|
||||||
|
|
Loading…
Reference in New Issue