From db950999347b8d4a41a8eb0576d1946380da1a03 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Fri, 21 Mar 2025 16:01:21 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A6=81=E6=AD=A2admin=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E8=8F=9C=E5=8D=95=E5=88=86=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/role/index.vue | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 3f14810f..3b431652 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -940,6 +940,7 @@ onMounted(() => {
v-if="
dict.sysNormalDisable.length > 0 &&
record.roleId !== '1' &&
+ record.roleKey !== 'admin' &&
hasPermissions(['system:role:edit'])
"
v-model:checked="record.status"
@@ -968,7 +969,9 @@ onMounted(() => {
-
+
{{ t('common.editText') }}
{
-
+
{{ t('common.deleteText') }}
{
-
+
{{
t('views.system.role.distributeUser')
}}