Fix the files under the 'public' dicrectoy can't visit after build

This commit is contained in:
zuiidea
2018-05-25 17:13:30 +08:00
parent c49b0edbe9
commit a1b9c0c33d
16 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class DataTable extends React.Component {
}
}
componentWillReceiveProps (nextProps) {
UNSAFE_componentWillReceiveProps (nextProps) {
const staticNextProps = cloneDeep(nextProps)
delete staticNextProps.columns
const { columns, ...otherProps } = this.props