fix(bee-table): 过滤行多语设置bug

This commit is contained in:
liushaozhen 2020-03-09 10:31:03 +08:00
parent 3aec58960d
commit 99c0289e09
3 changed files with 7 additions and 1 deletions

View File

@ -313,5 +313,8 @@ FilterDropDown.defaultProps = {
filterDropdownType: 'string' filterDropdownType: 'string'
}; };
FilterDropDown.contextTypes = {
beeLocale: _propTypes2["default"].object
};
exports["default"] = FilterDropDown; exports["default"] = FilterDropDown;
module.exports = exports['default']; module.exports = exports['default'];

View File

@ -1,6 +1,6 @@
{ {
"name": "bee-table", "name": "bee-table",
"version": "2.2.38", "version": "2.2.39",
"description": "Table ui component for react", "description": "Table ui component for react",
"keywords": [ "keywords": [
"react", "react",

View File

@ -184,4 +184,7 @@ FilterDropDown.defaultProps = {
filterDropdownType: 'string' filterDropdownType: 'string'
} }
FilterDropDown.contextTypes = {
beeLocale: PropTypes.object
};
export default FilterDropDown; export default FilterDropDown;