fix(测试报告): 修复运行中的报告查看错误问题
This commit is contained in:
parent
03c171e66d
commit
6a93a0d0c4
|
@ -159,6 +159,10 @@ export default {
|
||||||
},
|
},
|
||||||
handleView(report) {
|
handleView(report) {
|
||||||
this.reportId = report.id;
|
this.reportId = report.id;
|
||||||
|
if(report.status ==='Running'){
|
||||||
|
this.$warning("正在运行中,请稍后查看")
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.currentProjectId = report.projectId;
|
this.currentProjectId = report.projectId;
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: 'report/view/' + report.id,
|
path: 'report/view/' + report.id,
|
||||||
|
|
Loading…
Reference in New Issue