feat: filterColumn 中item字体为12px,点击文字checkbox也可以选中

This commit is contained in:
izbz wh 2019-04-23 17:17:53 +08:00
parent f734fd59c3
commit f8f983f12c
6 changed files with 13 additions and 7 deletions

1
dist/demo.css vendored
View File

@ -8589,6 +8589,7 @@ ul {
color: #505F79; }
.u-table-filter-column-pop-cont-item {
margin-top: 8px;
font-size: 12px;
cursor: pointer; }
.u-table-filter-column-pop-cont-item .u-checkbox {
margin: 0px; }

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

11
dist/demo.js vendored
View File

@ -171892,11 +171892,14 @@
key: da.key + "_" + i,
className: prefixCls + "-pop-cont-item"
},
_react2["default"].createElement(_beeCheckbox2["default"], paramObj),
_react2["default"].createElement(
"span",
null,
da.title
_beeCheckbox2["default"],
paramObj,
_react2["default"].createElement(
"span",
null,
da.title
)
)
);
});

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -558,6 +558,7 @@ $icon-color:#505F79;
}
&-pop-cont-item{
margin-top: 8px;
font-size: 12px;
// line-height: 30px;
cursor: pointer;
.u-checkbox {

View File

@ -108,9 +108,10 @@ export default function filterColumn(Table, Popover) {
key={da.key + "_" + i}
className={`${prefixCls}-pop-cont-item`}
>
<Checkbox {...paramObj}/>
<Checkbox {...paramObj}>
<span>{da.title}</span>
</Checkbox>
</div>
);