We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Table 表头最右侧 border需要滚动后才能显示
import React from 'react'; import { Table, Avatar } from '@douyinfe/semi-ui'; import { IconMore } from '@douyinfe/semi-icons'; function App() { const columns = [ { title: '标题', dataIndex: 'name', render: (text, record, index) => { return ( <div> <Avatar size="small" shape="square" src={record.nameIconSrc} style={{ marginRight: 12 }}></Avatar> {text} </div> ); } }, { title: '大小', dataIndex: 'size', }, { title: '所有者', dataIndex: 'owner', render: (text, record, index) => { return ( <div> <Avatar size="small" color={record.avatarBg} style={{ marginRight: 4 }}> {typeof text === 'string' && text.slice(0, 1)} </Avatar> {text} </div> ); } }, { title: '更新日期', dataIndex: 'updateTime', }, { title: '', dataIndex: 'operate', render: () => { return <IconMore />; } }, ]; return <Table bordered columns={columns} scroll={{ x: '101%', y: 300 }} dataSource={[]} pagination={false} />; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which Component 出现bug的组件
Table 表头最右侧 border需要滚动后才能显示
semi-ui version
Reproducible code 复现代码
Additional information 补充说明
The text was updated successfully, but these errors were encountered: