From 43d17eeb3a20ad8d11ecb2cbd53286c74a1b016f Mon Sep 17 00:00:00 2001 From: DengYun Date: Thu, 25 Aug 2016 10:58:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85Table=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E7=9A=84columns=E7=9A=84=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89=20(#2833)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 补充Table组件缺少的columns的属性类型定义 * `columns` is required. --- components/table/Table.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/table/Table.tsx b/components/table/Table.tsx index 51cc142ccb..6d13edb3da 100644 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -96,6 +96,7 @@ interface TableContext { export default class Table extends React.Component { static propTypes = { dataSource: React.PropTypes.array, + columns: React.PropTypes.array.isRequired, prefixCls: React.PropTypes.string, useFixedHeader: React.PropTypes.bool, rowSelection: React.PropTypes.object,