From 43cf39d9a0d9dc5d34d4a6bfa1d9237544002295 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 21 May 2016 18:53:49 +0800 Subject: [PATCH] put icon into emptyText, close #1759 --- components/table/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/table/index.jsx b/components/table/index.jsx index 0a9fadc8b4..51bbfa2932 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -21,7 +21,7 @@ const defaultLocale = { filterTitle: '筛选', filterConfirm: '确定', filterReset: '重置', - emptyText: '暂无数据', + emptyText: 暂无数据, }; const defaultPagination = { @@ -711,7 +711,7 @@ export default class Table extends React.Component { if (!data || data.length === 0) { emptyText = (
- {locale.emptyText} + {locale.emptyText}
); emptyClass = 'ant-table-empty';