当usetable的ellipsis属性设置为false的时候,TableAction里的actions图标都不见了
rain7788 opened this issue · 2 comments
rain7788 commented
当usetable的ellipsis属性设置为false的时候,内容自动换行,但是TableAction里的actions图标都不见了,将ellipsis改回true就正常
cszhjh commented
导致这个问题的原因在这,我不确定这是否是有意为之,目前解决你这个问题的方法可以在action的设置中手动设置key
example:
useTable({
// ...Your configuration
ellipsis: false,
actionColumn: {
width: 160,
title: 'Action',
dataIndex: 'action',
key: 'action'
},
});
rain7788 commented
好的我试试