From be700df61237922faa0f8e110c9956d2f56d1542 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 11 Apr 2016 15:07:14 +0800 Subject: [PATCH] update pagination demo --- components/pagination/demo/total.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/pagination/demo/total.md b/components/pagination/demo/total.md index a66537cb56..c3c2ee8e51 100644 --- a/components/pagination/demo/total.md +++ b/components/pagination/demo/total.md @@ -8,15 +8,11 @@ title: 总数 ````jsx import { Pagination, Select } from 'antd'; -function showTotal(total) { - return `共 ${total} 条`; -} - ReactDOM.render( `共 ${total} 条`} pageSize={20} defaultCurrent={1} />, mountNode );