From f5c60541f3eb2df2f807aae80f1e8d57c813b64e Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 20 Jun 2016 16:25:35 +0800 Subject: [PATCH] improve code style --- components/table/Table.jsx | 4 +++- components/table/filterDropdown.jsx | 12 ++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/components/table/Table.jsx b/components/table/Table.jsx index e18b551d9b..385d1cf6a3 100644 --- a/components/table/Table.jsx +++ b/components/table/Table.jsx @@ -566,7 +566,9 @@ export default class Table extends React.Component { if (column.filters && column.filters.length > 0) { let colFilters = this.state.filters[key] || []; filterDropdown = ( - diff --git a/components/table/filterDropdown.jsx b/components/table/filterDropdown.jsx index f913c9b8ce..6a8c548da8 100644 --- a/components/table/filterDropdown.jsx +++ b/components/table/filterDropdown.jsx @@ -108,7 +108,8 @@ export default class FilterMenu extends React.Component { const menus = (
-
- {locale.filterConfirm} - {locale.filterReset} @@ -136,7 +139,8 @@ export default class FilterMenu extends React.Component { ? 'ant-table-filter-selected' : ''; return ( -