From c4f6eb603eb5406e774a0a9843a682e26110aebd Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 8 Oct 2021 09:54:01 +0800 Subject: [PATCH] fix: process.nextTick #4737 --- CHANGELOG.en-US.md | 6 ++++++ CHANGELOG.zh-CN.md | 6 ++++++ components/_util/PortalWrapper.tsx | 2 +- package.json | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 8ec2f949d..19e4389b0 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -10,6 +10,12 @@ --- +## 3.0.0-alpha.2 + +`2021-10-08` + +- 🐞 Fix the issue of referencing process.nextTick [#4737](https://github.com/vueComponent/ant-design-vue/issues/4737) + ## 3.0.0-alpha.1 `2021-10-07` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 9737086c5..beaaec7e1 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -10,6 +10,12 @@ --- +## 3.0.0-alpha.2 + +`2021-10-08` + +- 🐞 修复引用 process.nextTick 问题 [#4737](https://github.com/vueComponent/ant-design-vue/issues/4737) + ## 3.0.0-alpha.1 `2021-10-07` diff --git a/components/_util/PortalWrapper.tsx b/components/_util/PortalWrapper.tsx index cd7c8f24f..020339799 100644 --- a/components/_util/PortalWrapper.tsx +++ b/components/_util/PortalWrapper.tsx @@ -10,11 +10,11 @@ import { onBeforeUnmount, onUpdated, getCurrentInstance, + nextTick, } from 'vue'; import canUseDom from './canUseDom'; import ScrollLocker from '../vc-util/Dom/scrollLocker'; import wrapperRaf from './raf'; -import { nextTick } from 'process'; let openCount = 0; const supportDom = canUseDom(); diff --git a/package.json b/package.json index f7c8ed881..aa573703c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-vue", - "version": "3.0.0-alpha.1", + "version": "3.0.0-alpha.2", "title": "Ant Design Vue", "description": "An enterprise-class UI design language and Vue-based implementation", "keywords": [