vue-vben-admin icon indicating copy to clipboard operation
vue-vben-admin copied to clipboard

当usetable的ellipsis属性设置为false的时候,TableAction里的actions图标都不见了

Open rain7788 opened this issue 10 months ago • 2 comments

当usetable的ellipsis属性设置为false的时候,内容自动换行,但是TableAction里的actions图标都不见了,将ellipsis改回true就正常

rain7788 avatar Apr 18 '24 07:04 rain7788

导致这个问题的原因在这,我不确定这是否是有意为之,目前解决你这个问题的方法可以在action的设置中手动设置key example:

useTable({
  // ...Your configuration
  ellipsis: false,
  actionColumn: {
    width: 160,
    title: 'Action',
    dataIndex: 'action',
    key: 'action'
  },
});

cszhjh avatar Apr 20 '24 17:04 cszhjh

好的我试试

rain7788 avatar Apr 21 '24 00:04 rain7788

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

anncwb avatar Jun 20 '24 01:06 anncwb