Fix: incorrect default value of hoverable in changelog v.3.x (#27483)

* Update CHANGELOG.en-US.md

correct change log info of  `horverable` : 
From
> - Card's `noHovering` has been renamed to `hoverable`, and its default value now is `true`.
To
> - Card's `noHovering` has been renamed to `hoverable`, and its default value now is `false`.

* Update CHANGELOG.zh-CN.md

- Correct document about `hoverable` in Zh-CN language.
This commit is contained in:
Kai 2020-10-31 10:20:57 +07:00 committed by GitHub
parent bc0f0b62ea
commit 1c5ad1469c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2596,7 +2596,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi
We provide a [migration tool](https://github.com/ant-design/antd-migration-helper) to help you find deprecated usages in your codebase.
- Card's `noHovering` has been renamed to `hoverable`, and its default value now is `true`.
- Card's `noHovering` has been renamed to `hoverable`, and its default value now is `false`.
- Added new Grid breakpoints. [#7230](https://github.com/ant-design/ant-design/pull/7230)
- Form `getFieldDecorator`'s `exclusive` option has been removed.
- Added `Form.createFormField`, and you must use it to wrap field data returned in `option.mapPropsToFields`:

View File

@ -2599,7 +2599,7 @@ timeline: true
此版本有部分不兼容的改动,升级时确保修改相应的使用代码。另外由于人肉查找代码中的废弃用法过于低效,所以我们提供了 [antd-migration-helper](https://github.com/ant-design/antd-migration-helper) 用于扫描代码中的废弃用法。
- Card 的 `noHovering` 属性重命名为 `hoverable`,且默认值改为 `true`。
- Card 的 `noHovering` 属性重命名为 `hoverable`,且默认值改为 `false`。
- 调整了 Grid 的响应式断点值。详见 [#7230](https://github.com/ant-design/ant-design/pull/7230)
- Form `getFieldDecorator``exclusive` 参数被移除,此类场景应该由 Radio.Group、Checkbox.Group 之类的组件来完成。
- 新增 `Form.createFormField` 方法,`mapPropsToFields` 返回的字段都需要由该方法创建。