fix:1、行过滤点击已选的无效2、checkbox在Table中的样式
This commit is contained in:
parent
a20044d4cf
commit
2fb6b7fac9
|
@ -91,7 +91,7 @@ class FilterDropDown extends Component {
|
|||
switch (filterDropdownType) {
|
||||
case 'string':
|
||||
return <Menu
|
||||
onSelect={this.onSelectDropdown}
|
||||
onClick={this.onSelectDropdown}
|
||||
selectedKeys={selectValue}
|
||||
>
|
||||
{
|
||||
|
@ -102,7 +102,7 @@ class FilterDropDown extends Component {
|
|||
</Menu>
|
||||
case 'number':
|
||||
return <Menu
|
||||
onSelect={this.onSelectDropdown}
|
||||
onClick={this.onSelectDropdown}
|
||||
selectedKeys={selectNumberValue}
|
||||
>
|
||||
{
|
||||
|
@ -118,7 +118,7 @@ class FilterDropDown extends Component {
|
|||
switch (filterDropdownType) {
|
||||
case 'string':
|
||||
return <Menu
|
||||
onSelect={this.onSelectDropdown}
|
||||
onClick={this.onSelectDropdown}
|
||||
selectedKeys={selectValue}
|
||||
>
|
||||
<Item key="LIKE">{locale['include']}</Item>
|
||||
|
@ -130,7 +130,7 @@ class FilterDropDown extends Component {
|
|||
</Menu>
|
||||
case 'number':
|
||||
return <Menu
|
||||
onSelect={this.onSelectDropdown}
|
||||
onClick={this.onSelectDropdown}
|
||||
selectedKeys={selectNumberValue}
|
||||
>
|
||||
<Item key="GT">{locale['greater_than']}</Item>
|
||||
|
|
|
@ -522,6 +522,7 @@ $checkbox-height:16px;
|
|||
.u-checkbox {
|
||||
height: $checkbox-height;
|
||||
line-height: $checkbox-height;
|
||||
margin:0px;
|
||||
}
|
||||
}
|
||||
.u-table:focus{
|
||||
|
|
Loading…
Reference in New Issue