From c799326e7f6c5635aba966f9edcd9c6eb81482e4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 27 Aug 2015 23:53:42 +0800 Subject: [PATCH] default pagination current page --- components/table/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/table/index.jsx b/components/table/index.jsx index f6cf287aa5..b3dbe609c2 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -48,7 +48,8 @@ var AntTable = React.createClass({ sortOrder: '', sorter: null, pagination: this.hasPagination() ? objectAssign({ - pageSize: 10 + pageSize: 10, + current: 1 }, this.props.pagination) : {} }; },