Commit ed52b73
authored
Update BootstrapTable.js
int componentWillReceiveProps functions
Add checking code
if (nextProps.data === undefined) {
return;
}
Before
this.store.setData(nextProps.data.slice());1 parent 99b9a59 commit ed52b73
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
| |||
0 commit comments