fix(接口测试): 修复分享报告未隐藏失败重跑按钮

--bug=1014462 --user=赵勇 【接口测试】测试报告分享后需要隐藏失败重跑按钮,现在点击会报错 https://www.tapd.cn/55049933/s/1192116
This commit is contained in:
fit2-zhao 2022-06-29 18:50:02 +08:00 committed by f2c-ci-robot[bot]
parent ce1769545a
commit bf5c6997ef
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@
this.showRerunButton = false;
},
rerunVerify() {
if (hasLicense() && this.fullTreeNodes && this.fullTreeNodes.length > 0) {
if (hasLicense() && this.fullTreeNodes && this.fullTreeNodes.length > 0 && !this.isShare) {
this.fullTreeNodes.forEach(item => {
item.redirect = true;
if (item.totalStatus === 'fail' || item.unExecuteTotal > 0

View File

@ -1354,7 +1354,7 @@ export default {
}
.api-case-simple-list >>> .el-table {
height: calc(100vh - 262px) !important;
height: calc(100vh - 185px) !important;
}
</style>