Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rain7788 opened this issue Apr 18, 2024 · 2 comments

Comments

@rain7788
Copy link

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

@cszhjh
Copy link
Contributor

cszhjh commented Apr 20, 2024

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

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

@rain7788
Copy link
Author

好的我试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants