Skip to content

Commit acf583f

Browse files
committed
Merge branch 'athenaxing-master'
2 parents 3f60275 + c5ed5ea commit acf583f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/BootstrapTable.js

+3
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ class BootstrapTable extends Component {
215215
let { replace } = nextProps;
216216
replace = replace || this.props.replace;
217217

218+
if (!nextProps.data) {
219+
return;
220+
}
218221
this.store.setData(nextProps.data.slice());
219222

220223
if (!replace) {

0 commit comments

Comments
 (0)