mirror of
https://github.com/chillzhuang/Saber.git
synced 2024-11-22 18:39:32 +08:00
⚡ 优化按钮权限功能
This commit is contained in:
parent
ba3a438cfa
commit
0f6fab7174
@ -17,6 +17,7 @@
|
|||||||
<el-button type="danger"
|
<el-button type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
|
v-if="permission.param_delete"
|
||||||
plain
|
plain
|
||||||
@click="handleDelete">删 除
|
@click="handleDelete">删 除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
<el-button type="danger"
|
<el-button type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
|
v-if="permission.role_delete"
|
||||||
plain
|
plain
|
||||||
@click="handleDelete">删 除
|
@click="handleDelete">删 除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
<el-button type="danger"
|
<el-button type="danger"
|
||||||
size="small"
|
size="small"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
|
v-if="permission.code_delete"
|
||||||
plain
|
plain
|
||||||
@click="handleDelete">删 除
|
@click="handleDelete">删 除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
Loading…
Reference in New Issue
Block a user