diff --git a/components/table/index.jsx b/components/table/index.jsx index 72648e2f2..2cb29b1ca 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -531,7 +531,7 @@ let AntTable = React.createClass({ getLocalData(dataSource) { let state = this.state; - let data = dataSource || this.props.dataSource; + let data = dataSource || this.props.dataSource || []; // 排序 if (state.sortOrder && state.sorter) { data = data.slice(0);