Merge remote-tracking branch 'origin/next' into v2.3
commit
5f1734cf6a
|
@ -10,6 +10,20 @@
|
|||
|
||||
---
|
||||
|
||||
## 2.2.2
|
||||
|
||||
`2021-07-11`
|
||||
|
||||
- 🌟 Switch added checkedValue and unCheckedValue attributes to customize checked binding value [#4329](https://github.com/vueComponent/ant-design-vue/issues/4329)
|
||||
- 🐞 Fix the issue of missing SubMenu animation [#4325](https://github.com/vueComponent/ant-design-vue/issues/4325)
|
||||
- 🐞 Fix that there is no red box problem when TimePicker validates the error under Form [#4331](https://github.com/vueComponent/ant-design-vue/issues/4331)
|
||||
- 🐞 Fix UploadDragger does not support vite-plugin-components on-demand loading problem [#4334](https://github.com/vueComponent/ant-design-vue/issues/4334)
|
||||
- 🐞 Fix the error when TreeSelect customize title through slot [1152e8](https://github.com/vueComponent/ant-design-vue/commit/1152e8cd71cadf9e8fb4797916adca20c0e35974)
|
||||
- 🐞 Fix the dropdown submenu style loss issue [#4351](https://github.com/vueComponent/ant-design-vue/issues/4351)
|
||||
- TS
|
||||
- Fix the type error of Table in ts 4.3.5 version [#4296](https://github.com/vueComponent/ant-design-vue/issues/4296)
|
||||
- Improve notification type [#4346](https://github.com/vueComponent/ant-design-vue/issues/4346)
|
||||
|
||||
## 2.2.1
|
||||
|
||||
`2021-07-06`
|
||||
|
|
|
@ -10,6 +10,20 @@
|
|||
|
||||
---
|
||||
|
||||
## 2.2.2
|
||||
|
||||
`2021-07-11`
|
||||
|
||||
- 🌟 Switch 新增 checkedValue、unCheckedValue 属性用于自定义 checked 绑定值 [#4329](https://github.com/vueComponent/ant-design-vue/issues/4329)
|
||||
- 🐞 修复 SubMenu 动画丢失的问题 [#4325](https://github.com/vueComponent/ant-design-vue/issues/4325)
|
||||
- 🐞 修复 TimePicker 在 Form 下验证错误时没有红框问题 [#4331](https://github.com/vueComponent/ant-design-vue/issues/4331)
|
||||
- 🐞 修复 UploadDragger 不支持 vite-plugin-components 按需加载问题 [#4334](https://github.com/vueComponent/ant-design-vue/issues/4334)
|
||||
- 🐞 修复 TreeSelect 通过 slot 自定义 title 时报错问题 [1152e8](https://github.com/vueComponent/ant-design-vue/commit/1152e8cd71cadf9e8fb4797916adca20c0e35974)
|
||||
- 🐞 修复 Dropdown submenu 样式丢失问题 [#4351](https://github.com/vueComponent/ant-design-vue/issues/4351)
|
||||
- TS
|
||||
- 修复 Table 在 ts 4.3.5 版本下类型报错问题 [#4296](https://github.com/vueComponent/ant-design-vue/issues/4296)
|
||||
- 完善 notification 类型 [#4346](https://github.com/vueComponent/ant-design-vue/issues/4346)
|
||||
|
||||
## 2.2.1
|
||||
|
||||
`2021-07-06`
|
||||
|
|
|
@ -27,6 +27,7 @@ import { useInjectSize } from '../_util/hooks/useSize';
|
|||
import useConfigInject from '../_util/hooks/useConfigInject';
|
||||
import { useProvideForm } from './context';
|
||||
import type { SizeType } from '../config-provider';
|
||||
import useForm from './useForm';
|
||||
|
||||
export type RequiredMark = boolean | 'optional';
|
||||
export type FormLayout = 'horizontal' | 'inline' | 'vertical';
|
||||
|
@ -97,6 +98,7 @@ const Form = defineComponent({
|
|||
colon: true,
|
||||
}),
|
||||
Item: FormItem,
|
||||
useForm,
|
||||
emits: ['finishFailed', 'submit', 'finish'],
|
||||
setup(props, { emit, slots, expose, attrs }) {
|
||||
const size = useInjectSize(props);
|
||||
|
@ -371,4 +373,5 @@ const Form = defineComponent({
|
|||
|
||||
export default Form as typeof Form & {
|
||||
readonly Item: typeof FormItem;
|
||||
readonly useForm: typeof useForm;
|
||||
};
|
||||
|
|
|
@ -15,7 +15,6 @@ Form.install = function (app: App) {
|
|||
|
||||
export { FormItem, formItemProps, formProps, useForm };
|
||||
|
||||
Form.useForm = useForm;
|
||||
export default Form as typeof Form &
|
||||
Plugin & {
|
||||
readonly Item: typeof Form.Item;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ant-design-vue",
|
||||
"version": "2.2.1",
|
||||
"version": "2.2.2",
|
||||
"title": "Ant Design Vue",
|
||||
"description": "An enterprise-class UI design language and Vue-based implementation",
|
||||
"keywords": [
|
||||
|
|
Loading…
Reference in New Issue