fix:1、行过滤点击已选的无效2、checkbox在Table中的样式

This commit is contained in:
izbz wh 2019-03-15 13:50:12 +08:00
parent a20044d4cf
commit 2fb6b7fac9
2 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -522,6 +522,7 @@ $checkbox-height:16px;
.u-checkbox {
height: $checkbox-height;
line-height: $checkbox-height;
margin:0px;
}
}
.u-table:focus{