diff --git a/web/src/views/system/role/crud.tsx b/web/src/views/system/role/crud.tsx index f725188..e07575f 100644 --- a/web/src/views/system/role/crud.tsx +++ b/web/src/views/system/role/crud.tsx @@ -66,7 +66,7 @@ export const createCrudOptions = function ({ crudExpose, context }: CreateCrudOp assignment: { type: 'primary', text: '授权用户', - show: auth('role:AuthorizedAdd') || auth('role:AuthorizedSearch'), + show: auth('role:SetUserRole') || auth('role:AuthorizedSearch'), click: (ctx: any) => { const { row } = ctx; context!.RoleUserDrawer.handleDrawerOpen(row);