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

This commit is contained in:
chenjianxing 2022-04-24 14:11:36 +08:00 committed by 刘瑞斌
parent 0a400b1930
commit 970955d323
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);
}
},
}