site: Add diff

This commit is contained in:
Wei Zhu 2017-12-05 10:24:49 +08:00
parent 12b6fceb37
commit ed44dfaeb8
2 changed files with 16 additions and 0 deletions

View File

@ -68,6 +68,14 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi
- Since we changed default locale to en_US, LocalProvider is not required any more for English users.
- We don't set `size="large"` to `Input` in `Form` by default any more.
- UMD version of `dist/antd.js` doesn't include moment any more, you need add moment by yourself if you are using the UMD version.
```diff
<html>
<head>
+ <script src="https://unpkg.com/moment@2.19.3/moment.js"></script>
<script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script>
</head>
</html>
```
### Removed Deprecations

View File

@ -79,6 +79,14 @@ timeline: true
- Form 下的表单控件不再默认为 size="large"。
- UMD 版本的 `dist/antd.js` 不再包含 moment使用的时候需要自己引入 moment。
```diff
<html>
<head>
+ <script src="https://unpkg.com/moment@2.19.3/moment.js"></script>
<script src="https://unpkg.com/antd@3.0.0/dist/antd.js"></script>
</head>
</html>
```
### 以下在 2.x 中废弃的特性被移除