fix: 场景报告不展示未执行的状态

This commit is contained in:
chenjianxing 2022-04-24 14:11:36 +08:00 committed by 刘瑞斌
parent 758e3f5400
commit 528a84d56e
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ export default {
return this.report.reportType && this.report.reportType.startsWith("UI");
},
showUnExecuteReport() {
return this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0
&& this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0;
return (this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0)
|| (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0);
}
},
}