From 0a516e30014364fc9a9b873864ebe2bad40e80b9 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 25 七月 2021 10:20:52 +0800 Subject: [PATCH] 更多操作按钮添加权限控制 --- ruoyi-ui/src/views/system/role/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index af824da..e48043f 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -139,7 +139,7 @@ @click="handleDelete(scope.row)" v-hasPermi="['system:role: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:role:edit']"> <span class="el-dropdown-link"> <i class="el-icon-d-arrow-right el-icon--right"></i>更多 </span> -- Gitblit v1.9.2