![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
antDesign
xuedong1103
这个作者很懒,什么都没留下…
展开
-
antDesign 修改滚动条样式
.ant-table-body{ &::-webkit-scrollbar { height: 5px; } &::-webkit-scrollbar-thumb { border-radius: 5px; -webkit-box-shadow: inset 0 0 5px red; background: #ccc; } &::-webkit-scr...原创 2021-02-19 16:57:08 · 2123 阅读 · 0 评论 -
antDesign表格自定义展开图标
<Table loading={loading} dataSource={resourceList} rowSelection={rowSelection} columns={this.state.ShowColumns} bordered rowKey={(record) => record.id} scroll={{ x: true }} expandIcon = {this.expandIcon}/>// 图标展开样式修改 expandIcon = (prop原创 2020-11-06 15:43:57 · 1971 阅读 · 1 评论 -
antDesign table 默认排序 ,解决defaultSortOrder不生效(antDesign 3.X)
state = { sortedInfo:{ columnKey:'默认排序的项', order: 'ascend' },//默认排序}column = [{ title: "默认排序的项", dataIndex: '默认排序的项', key: '默认排序的项', sortOrder: this.state.sortedInfo.columnKey === '默认排序的项' && this.state.sortedInfo.order,原创 2020-11-06 15:38:26 · 8309 阅读 · 2 评论