fix(测试报告): 修复运行中的报告查看错误问题

This commit is contained in:
fit2-zhao 2021-03-18 18:00:40 +08:00
parent 03c171e66d
commit 6a93a0d0c4
1 changed files with 4 additions and 0 deletions

View File

@ -159,6 +159,10 @@ export default {
},
handleView(report) {
this.reportId = report.id;
if(report.status ==='Running'){
this.$warning("正在运行中,请稍后查看")
return;
}
this.currentProjectId = report.projectId;
this.$router.push({
path: 'report/view/' + report.id,