fix(测试跟踪):使只读用户不能删除测试计划报告 (#1758)

Co-authored-by: 黎龙鑫 <lilongxinya@163.com>
This commit is contained in:
Ambitiousliga 2021-03-30 16:17:08 +08:00 committed by chenjianxing
parent 2534eafcf0
commit ab98740321
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<el-table-column width="30" :resizable="false" align="center">
<template v-slot:default="scope">
<show-more-btn :is-show="scope.row.showMore" :buttons="buttons" :size="selectDataCounts"/>
<show-more-btn :is-show="scope.row.showMore" :buttons="buttons" :size="selectDataCounts" v-tester/>
</template>
</el-table-column>
@ -49,7 +49,7 @@
<ms-table-operator-button :tip="$t('test_track.plan_view.view_report')" icon="el-icon-document"
@exec="openReport(scope.row.id)"/>
<ms-table-operator-button type="danger" :tip="$t('commons.delete')" icon="el-icon-delete"
@exec="handleDelete(scope.row)" />
@exec="handleDelete(scope.row)" v-tester/>
</template>
</el-table-column>
</el-table>