更多操作按钮添加权限控制

This commit is contained in:
RuoYi
2021-07-25 11:47:55 +08:00
parent 57c4910605
commit e9621469b2
3 changed files with 4 additions and 4 deletions

View File

@@ -181,7 +181,7 @@
@click="handleDelete(scope.row)"
v-hasPermi="['system:user:remove']"
>删除</el-button>
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)">
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:user:resetPwd', 'system:user:edit']">
<span class="el-dropdown-link">
<i class="el-icon-d-arrow-right el-icon--right"></i>更多
</span>