diff --git a/build/lib/filterColumn.js b/build/lib/filterColumn.js index a49266b..9c6b8b0 100644 --- a/build/lib/filterColumn.js +++ b/build/lib/filterColumn.js @@ -90,7 +90,7 @@ function filterColumn(Table, Popover) { showModal = _state.showModal; - var locale = (0, _tool.getComponentLocale)(this.props, this.context, "Table", function () { + var locale = (0, _tool.getComponentLocale)(this.props, this.context, 'Table', function () { return _i18n2["default"]; }); @@ -160,6 +160,8 @@ function filterColumn(Table, Popover) { afterFilter: noop, columnFilterAble: true, scroll: {} + }, _class.contextTypes = { + beeLocale: PropTypes.object }, _initialiseProps = function _initialiseProps() { var _this2 = this; diff --git a/package.json b/package.json index 0ae2259..fe71729 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.6.42.beta.0", + "version": "1.6.42", "description": "Table ui component for react", "keywords": [ "react", @@ -96,4 +96,4 @@ "react-dom": "^16.6.3", "shineout": "^1.1.7" } -} +} \ No newline at end of file