- Notifications
You must be signed in to change notification settings - Fork 441
Closed
Description
element-react/src/table/TableStore.jsx
Line 200 in e066220
| if (this._isMounted && data !== this.props.data && !columns[0].reserveSelection) { |
// 类似操作
setTimeout(() => {
this.setState({
columns: [],
data: [],
});
}, 3000);
Table 重置 data = [], columns = [], 此时 columns[0] 为 undefined .
TypeError: Cannot read property 'reserveSelection' of undefined 然后显示白屏。
Metadata
Metadata
Assignees
Labels
No labels