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

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

Before

Width:  |  Height:  |  Size: 901 KiB

After

Width:  |  Height:  |  Size: 901 KiB

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Before

Width:  |  Height:  |  Size: 997 KiB

After

Width:  |  Height:  |  Size: 997 KiB

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

+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
+3 -3
View File
@@ -5,9 +5,9 @@ module.exports = {
name: 'AntD Admin',
prefix: 'antdAdmin',
footerText: 'Ant Design Admin © 2018 zuiidea',
logo: '/logo.svg',
iconFontCSS: '/iconfont.css',
iconFontJS: '/iconfont.js',
logo: '/public/logo.svg',
iconFontCSS: '/public/iconfont.css',
iconFontJS: '/public/iconfont.js',
CORS: [],
openPages: ['/login'],
apiPrefix: '/api/v1',