Commit 6eb908dc4cd73dcd872650f97c14c62ef8f04638
1 parent
7617fb07
perf: 右侧按钮默认固定列
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-ui-admin-vue3/src/hooks/web/useVxeCrudSchemas.ts
| @@ -231,6 +231,7 @@ const filterTableSchema = (crudSchema: VxeCrudSchema): VxeGridPropTypes.Columns | @@ -231,6 +231,7 @@ const filterTableSchema = (crudSchema: VxeCrudSchema): VxeGridPropTypes.Columns | ||
| 231 | const tableSchemaItem = { | 231 | const tableSchemaItem = { |
| 232 | title: crudSchema.actionTitle ? crudSchema.actionTitle : t('table.action'), | 232 | title: crudSchema.actionTitle ? crudSchema.actionTitle : t('table.action'), |
| 233 | field: 'actionbtns', | 233 | field: 'actionbtns', |
| 234 | + fixed: 'right' as unknown as VxeColumnPropTypes.Fixed, | ||
| 234 | width: crudSchema.actionWidth ? crudSchema.actionWidth : '200px', | 235 | width: crudSchema.actionWidth ? crudSchema.actionWidth : '200px', |
| 235 | slots: { | 236 | slots: { |
| 236 | default: 'actionbtns_default' | 237 | default: 'actionbtns_default' |