diff --git a/src/components/StandardTable/index.js b/src/components/StandardTable/index.js index 042335435e783e9d93590429b3fd7977f1acf6e2..c0c17251edd43b2d1851cdc17fdfa6f0ac0e6f50 100644 --- a/src/components/StandardTable/index.js +++ b/src/components/StandardTable/index.js @@ -63,11 +63,8 @@ class StandardTable extends PureComponent { render() { const { selectedRowKeys, needTotalList } = this.state; - const { - data: { list, pagination }, - rowKey, - ...rest - } = this.props; + const { data = {}, rowKey, ...rest } = this.props; + const { list = [], pagination } = data; const paginationProps = { showSizeChanger: true,