Browse Source

fix: process.nextTick #4737

pull/4738/head 3.0.0-alpha.2
tangjinzhou 3 years ago
parent
commit
c4f6eb603e
  1. 6
      CHANGELOG.en-US.md
  2. 6
      CHANGELOG.zh-CN.md
  3. 2
      components/_util/PortalWrapper.tsx
  4. 2
      package.json

6
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 ## 3.0.0-alpha.1
`2021-10-07` `2021-10-07`

6
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 ## 3.0.0-alpha.1
`2021-10-07` `2021-10-07`

2
components/_util/PortalWrapper.tsx

@ -10,11 +10,11 @@ import {
onBeforeUnmount, onBeforeUnmount,
onUpdated, onUpdated,
getCurrentInstance, getCurrentInstance,
nextTick,
} from 'vue'; } from 'vue';
import canUseDom from './canUseDom'; import canUseDom from './canUseDom';
import ScrollLocker from '../vc-util/Dom/scrollLocker'; import ScrollLocker from '../vc-util/Dom/scrollLocker';
import wrapperRaf from './raf'; import wrapperRaf from './raf';
import { nextTick } from 'process';
let openCount = 0; let openCount = 0;
const supportDom = canUseDom(); const supportDom = canUseDom();

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "ant-design-vue", "name": "ant-design-vue",
"version": "3.0.0-alpha.1", "version": "3.0.0-alpha.2",
"title": "Ant Design Vue", "title": "Ant Design Vue",
"description": "An enterprise-class UI design language and Vue-based implementation", "description": "An enterprise-class UI design language and Vue-based implementation",
"keywords": [ "keywords": [

Loading…
Cancel
Save