mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
site: Add diff
This commit is contained in:
parent
12b6fceb37
commit
ed44dfaeb8
@ -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
|
||||
|
||||
|
@ -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 中废弃的特性被移除
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user