mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
表格列的filter功能,选中才显示重置按钮
This commit is contained in:
parent
216feb4b43
commit
13d3fe97a3
@ -246,12 +246,14 @@ export class HeadCellFilterDropDown extends React.Component<
|
||||
</Checkbox>
|
||||
</li>
|
||||
))}
|
||||
{filterOptions.some((item: any) => item.selected) ? (
|
||||
<li
|
||||
key="DropDown-menu-reset"
|
||||
onClick={this.handleReset.bind(this)}
|
||||
>
|
||||
{__('重置')}
|
||||
</li>
|
||||
) : null}
|
||||
</ul>
|
||||
) : null}
|
||||
</PopOver>
|
||||
|
Loading…
Reference in New Issue
Block a user