From ce6bea4ba0660495eb8e72d4bb883a673d05bd3a Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 05 七月 2021 09:57:15 +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 8f0d433..70c1dc4 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -124,7 +124,7 @@ </template> </el-table-column> <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> - <template slot-scope="scope"> + <template slot-scope="scope" v-if="scope.row.roleId !== 1"> <el-button size="mini" type="text" -- Gitblit v1.9.2