fix: 管理员不可删除

This commit is contained in:
dataeaseShu 2022-08-31 23:51:35 +08:00
parent fe8632f10b
commit 9b260f53ac

View File

@ -240,6 +240,7 @@
<el-button
v-permission="['user:del']"
@click="del(scope.row)"
v-if="scope.row.id !== 1"
class="text-btn"
type="text"
>{{ $t("commons.delete") }}</el-button