UPDATE: 根据计划的状态调按钮显示还是隐藏。
This commit is contained in:
@@ -73,7 +73,14 @@
|
||||
>
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button type="primary" v-auth.plan="'delete'" link :icon="Delete" @click="handleDelete(scope.row)">
|
||||
<el-button
|
||||
type="primary"
|
||||
v-if="scope.row.testState === 0"
|
||||
v-auth.plan="'delete'"
|
||||
link
|
||||
:icon="Delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
>
|
||||
删除
|
||||
</el-button>
|
||||
<el-button
|
||||
|
||||
Reference in New Issue
Block a user