优化按钮权限功能

This commit is contained in:
smallchill 2019-03-02 09:32:04 +08:00
parent ba3a438cfa
commit 0f6fab7174
3 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,7 @@
<el-button type="danger"
size="small"
icon="el-icon-delete"
v-if="permission.param_delete"
plain
@click="handleDelete">
</el-button>

View File

@ -16,6 +16,7 @@
<el-button type="danger"
size="small"
icon="el-icon-delete"
v-if="permission.role_delete"
plain
@click="handleDelete">
</el-button>

View File

@ -18,6 +18,7 @@
<el-button type="danger"
size="small"
icon="el-icon-delete"
v-if="permission.code_delete"
plain
@click="handleDelete">
</el-button>