This commit is contained in:
parent
e5c300075e
commit
ae1eaa03f3
|
@ -185,10 +185,8 @@
|
|||
color: rgb(66,165,245); }
|
||||
.u-table td a:active {
|
||||
color: rgb(21,101,192); }
|
||||
.u-table tr:hover {
|
||||
background: rgb(227,242,253); }
|
||||
.u-table tr:hover td .uf-eye {
|
||||
visibility: visible !important; }
|
||||
.u-table tr:hover td .uf-eye {
|
||||
visibility: visible !important; }
|
||||
.u-table tr tr a {
|
||||
color: rgb(30,136,229); }
|
||||
.u-table tr tr a:hover {
|
||||
|
|
|
@ -204,7 +204,7 @@ var TableRow = function (_Component) {
|
|||
fixedIndex = _props7.fixedIndex,
|
||||
syncHover = _props7.syncHover;
|
||||
|
||||
if (!syncHover) {
|
||||
if (syncHover) {
|
||||
this.setState({ hovered: true });
|
||||
}
|
||||
onHover(true, hoverKey, e, fixedIndex);
|
||||
|
@ -217,7 +217,7 @@ var TableRow = function (_Component) {
|
|||
fixedIndex = _props8.fixedIndex,
|
||||
syncHover = _props8.syncHover;
|
||||
|
||||
if (!syncHover) {
|
||||
if (syncHover) {
|
||||
this.setState({ hovered: false });
|
||||
}
|
||||
onHover(false, hoverKey, e, fixedIndex);
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,9 @@ export default function filterColumn(Table, Popover) {
|
|||
columnFilterAble: true,
|
||||
scroll: {}
|
||||
};
|
||||
|
||||
static contextTypes = {
|
||||
beeLocale: PropTypes.object
|
||||
}
|
||||
constructor(props) {
|
||||
super(props);
|
||||
const { columns } = props;
|
||||
|
@ -142,12 +144,8 @@ export default function filterColumn(Table, Popover) {
|
|||
const { data, prefixCls, scroll: scrollPro } = this.props;
|
||||
const { columns, showModal } = this.state;
|
||||
|
||||
let locale = getComponentLocale(
|
||||
this.props,
|
||||
this.context,
|
||||
"Table",
|
||||
() => i18n
|
||||
);
|
||||
|
||||
let locale = getComponentLocale(this.props, this.context, 'Table', () => i18n);
|
||||
|
||||
let _columns = [],
|
||||
widthState = 0,
|
||||
|
|
Loading…
Reference in New Issue