Skip to content

Commit b0b01de

Browse files
committed
fix #1053
1 parent c45bd38 commit b0b01de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BootstrapTable extends Component {
2222
if (Util.canUseDOM()) {
2323
this.isIE = document.documentMode;
2424
}
25-
this.store = new TableDataStore(this.props.data.slice());
25+
this.store = new TableDataStore(this.props.data ? this.props.data.slice() : []);
2626

2727
this.initTable(this.props);
2828

0 commit comments

Comments
 (0)