From cc6ac68223152f26af6f4a34b97a99fb4b945dbd Mon Sep 17 00:00:00 2001 From: ahui Date: Mon, 1 Dec 2025 10:24:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=8E=88=E6=9D=83=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/system/role/crud.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/views/system/role/crud.tsx b/web/src/views/system/role/crud.tsx index e07575f..bd457ad 100644 --- a/web/src/views/system/role/crud.tsx +++ b/web/src/views/system/role/crud.tsx @@ -48,7 +48,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp //固定右侧 fixed: 'right', width: computed(() => { - if (auth('role:AuthorizedAdd') || auth('role:AuthorizedSearch')){ + if (auth('role:AllAuthorizedUser') || auth('role:AllCanMenu')){ return 420; } return 320; @@ -66,7 +66,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp assignment: { type: 'primary', text: '授权用户', - show: auth('role:SetUserRole') || auth('role:AuthorizedSearch'), + show: auth('role:AllAuthorizedUser'), click: (ctx: any) => { const { row } = ctx; context!.RoleUserDrawer.handleDrawerOpen(row);