From 0dcdd92ba2aaa18945e8acee5575ba9c0a0a40b5 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 11 Jun 2021 22:06:25 +0800 Subject: [PATCH] release 2.2.0-beta.3 --- CHANGELOG.en-US.md | 15 +++++++++++++++ CHANGELOG.zh-CN.md | 15 +++++++++++++++ components/form/ErrorList.tsx | 2 +- components/statistic/Countdown.tsx | 2 +- components/vc-overflow/Overflow.tsx | 4 ++-- package.json | 2 +- 6 files changed, 35 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 81084546d..9a788a0e7 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,21 @@ --- +## 2.2.0-beta.3 + +`2021-06-11` + +- 🎉 Refactor Breadcrumb, Statistic, Tag components +- 🌟 Statistic supports loading attribute +- 🐞 Fix the problem of Menu rendering multiple sub-components to improve performance [6ae707](https://github.com/vueComponent/ant-design-vue/commit/6ae707edf508a9c5e8dca7dacf1410de5251bcf8) +- 🐞 Fix FormItem custom class invalidation [617e53](https://github.com/vueComponent/ant-design-vue/commit/617e534fda2ae6d468b5e9d3eb43370f8a4b0000) +- 🐞 Fix MenuDivider class error [#4195](https://github.com/vueComponent/ant-design-vue/issues/4195) +- 🐞 Fix Tag and Image type errors +- 🐞 Fix the issue of missing component animations such as Modal [#4191](https://github.com/vueComponent/ant-design-vue/issues/4191) +- 🐞 Fix the issue that Select class cannot be dynamically updated [#4194](https://github.com/vueComponent/ant-design-vue/issues/4194) +- 🐞 Fix the problem that the Dropdown mail expands and cannot be collapsed by clicking [#4198](https://github.com/vueComponent/ant-design-vue/issues/4198) +- 🐞 Fix the issue of missing some export methods of FormItem [#4183](https://github.com/vueComponent/ant-design-vue/issues/4183) + ## 2.2.0-beta.2 `2021-06-08` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 9305bf8eb..be9f72d0b 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,21 @@ --- +## 2.2.0-beta.3 + +`2021-06-11` + +- 🎉 重构 Breadcrumb、Statistic、Tag 组件 +- 🌟 Statistic 支持 loading 属性 +- 🐞 修复 Menu 渲染多次子组件问题,提升性能 [6ae707](https://github.com/vueComponent/ant-design-vue/commit/6ae707edf508a9c5e8dca7dacf1410de5251bcf8) +- 🐞 修复 FormItem 自定义 class 失效 [617e53](https://github.com/vueComponent/ant-design-vue/commit/617e534fda2ae6d468b5e9d3eb43370f8a4b0000) +- 🐞 修复 MenuDivider class 错误问题 [#4195](https://github.com/vueComponent/ant-design-vue/issues/4195) +- 🐞 修复 Tag、Image 类型错误 +- 🐞 修复 Modal 等组件动画丢失问题 [#4191](https://github.com/vueComponent/ant-design-vue/issues/4191) +- 🐞 修复 Select class 不能动态更新问题 [#4194](https://github.com/vueComponent/ant-design-vue/issues/4194) +- 🐞 修复 Dropdown 邮件展开,不能点击收起的问题 [#4198](https://github.com/vueComponent/ant-design-vue/issues/4198) +- 🐞 修复 FormItem 缺少部分导出方法问题 [#4183](https://github.com/vueComponent/ant-design-vue/issues/4183) + ## 2.2.0-beta.2 `2021-06-08` diff --git a/components/form/ErrorList.tsx b/components/form/ErrorList.tsx index d9b73e951..c7d26b754 100644 --- a/components/form/ErrorList.tsx +++ b/components/form/ErrorList.tsx @@ -21,7 +21,7 @@ export default defineComponent({ const { prefixCls, status } = useInjectFormItemPrefix(); const visible = ref(!!(props.errors && props.errors.length)); const innerStatus = ref(status.value); - let timeout = ref(); + const timeout = ref(); const cacheErrors = ref([...props.errors]); watch([() => [...props.errors], () => props.help], newValues => { window.clearTimeout(timeout.value); diff --git a/components/statistic/Countdown.tsx b/components/statistic/Countdown.tsx index 55b386d29..3c328d109 100644 --- a/components/statistic/Countdown.tsx +++ b/components/statistic/Countdown.tsx @@ -43,7 +43,7 @@ export default defineComponent({ const stopTimer = () => { const { value } = props; - if (countdownId) { + if (countdownId.value) { clearInterval(countdownId.value); countdownId.value = undefined; diff --git a/components/vc-overflow/Overflow.tsx b/components/vc-overflow/Overflow.tsx index 54659d237..09ed88e6b 100644 --- a/components/vc-overflow/Overflow.tsx +++ b/components/vc-overflow/Overflow.tsx @@ -131,7 +131,7 @@ const Overflow = defineComponent({ }); const omittedItems = computed(() => { - if (isResponsive) { + if (isResponsive.value) { return props.data.slice(mergedDisplayCount.value + 1); } return props.data.slice(mergedData.value.length); @@ -362,7 +362,7 @@ const Overflow = defineComponent({ <Item {...itemSharedProps} order={mergedDisplayCount.value} - class={`${itemPrefixCls}-suffix`} + class={`${itemPrefixCls.value}-suffix`} registerSize={registerSuffixSize} display style={suffixStyle} diff --git a/package.json b/package.json index 94e3ee0a8..adaf2a6ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "2.2.0-beta.2", + "version": "2.2.0-beta.3", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [