site: fix image

This commit is contained in:
afc163 2017-01-09 21:08:19 +08:00
parent 452aa84d9d
commit 765ae70cf5
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ There are some [scaffolds](https://github.com/ant-design/ant-design/issues/129)
If you see a log like below screenshot, you might import all components by writing `import { Button } from 'antd';`, this will affect your app's network perfermance.
> ![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png
![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png
But, we can import component on demand:

View File

@ -160,7 +160,7 @@ IE8 需要配合使用 [react@0.14.x](https://facebook.github.io/react/blog/2016
如果你在控制台看到下面的提示,则你可能使用了 `import { Button } from 'antd';` 的写法引入了 antd 下所有的模块,这会影响应用的网络性能。
> ![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png
![](https://zos.alipayobjects.com/rmsportal/vgcHJRVZFmPjAawwVoXK.png
可以通过以下的写法来按需加载组件。