fix(测试跟踪): 修复测试计划报告查看时出现编辑的问题

--bug=1011430 --user=刘瑞斌 [BUG]  github#11636测试跟踪的报告列表中,能够编辑但是不能保存 https://www.tapd.cn/55049933/s/1124177

Closes #11636
This commit is contained in:
CaptainB 2022-03-23 12:41:54 +08:00 committed by shiziyuan9527
parent 831ecf0753
commit a6cdec7015
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<test-plan-report-container id='summary' :title="$t('test_track.report.report_summary')"> <test-plan-report-container id='summary' :title="$t('test_track.report.report_summary')">
<template v-slot:title> <template v-slot:title>
<el-link class="edit-link" v-if="!isTemplate && !isShare && !isEdit" @click="isEdit = true"> <el-link class="edit-link" v-if="!isTemplate && !isShare && !isDb && !isEdit" @click="isEdit = true">
{{ $t('commons.edit') }} {{ $t('commons.edit') }}
</el-link> </el-link>
<el-link class="edit-link" v-if="!isTemplate && !isShare && !isDb && isEdit" @click="saveSummary"> <el-link class="edit-link" v-if="!isTemplate && !isShare && !isDb && isEdit" @click="saveSummary">