refactor: 角色管理 auto

This commit is contained in:
dap 2025-04-12 10:42:16 +08:00
parent 9db1087d32
commit 4fad8d77de
2 changed files with 7 additions and 2 deletions

View File

@ -94,7 +94,8 @@ export const columns: VxeGridProps['columns'] = [
fixed: 'right',
slots: { default: 'action' },
title: '操作',
width: 180,
resizable: false,
width: 'auto',
},
];

View File

@ -226,7 +226,11 @@ function handleAssignRole(record: Role) {
</MenuItem>
</Menu>
</template>
<a-button size="small" type="link">
<a-button
size="small"
type="link"
v-access:code="'system:role:edit'"
>
{{ $t('pages.common.more') }}
</a-button>
</Dropdown>