fix(接口测试): 修复分享场景报告可以点击报告名称的缺陷

--bug=1023344 --user=王孝刚 【接口测试】打开独立场景分享报告链接-点击报告名报错
https://www.tapd.cn/55049933/s/1337990
This commit is contained in:
wxg0103 2023-02-20 11:10:51 +08:00 committed by 刘瑞斌
parent 6848b06149
commit 096d4f2169
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@
:project-env-map="projectEnvMap"
:mode="mode"
:pool-name="poolName"
:is-share="isShare"
@reportExport="handleExport"
@reportSave="handleSave" />

View File

@ -13,7 +13,7 @@
maxlength="60"
show-word-limit />
<span v-else>
<el-link v-if="isSingleScenario" type="primary" class="report-name" @click="redirect">
<el-link v-if="!isShare && isSingleScenario" type="primary" class="report-name" @click="redirect">
{{ report.name }}
</el-link>
<span v-else>
@ -142,6 +142,7 @@ export default {
isPlan: Boolean,
poolName: String,
mode: String,
isShare: Boolean,
},
computed: {
showProjectEnv() {