test'
message.info('Click on left button.');直接彈出提示信息console.log('click left button', e); 后臺輸出
區(qū)別
?
import { Pagination } from 'antd';function onShowSizeChange(current, pageSize) {console.log(current, pageSize); }ReactDOM.render(<Pagination showSizeChanger onShowSizeChange={onShowSizeChange} defaultCurrent={3} total={500} /> , mountNode);showTotal={total => `Total ${total} items`} showTotal={(total, range) => `${range[0]}-${range[1]} of ${total} items`}
轉(zhuǎn)載于:https://www.cnblogs.com/gjack/p/9152966.html
總結(jié)
- 上一篇: Delphi TXLSReadWrite
- 下一篇: Extjs grid 设置行字体颜色