限制超级管理员不允许操作

This commit is contained in:
RuoYi
2021-07-05 09:57:15 +08:00
parent 9c7901f526
commit ce6bea4ba0
2 changed files with 10 additions and 8 deletions

View File

@ -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"