From baca533e11602c76b310c6c6aaaf3ca4ff1dc15d Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Mon, 25 Feb 2019 15:42:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(1=E3=80=81=E5=A4=9A=E8=AF=AD=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9B2=E3=80=81syncHover=E5=B1=9E=E6=80=A7bug):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/lib/filterColumn.js | 4 +++- package.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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