Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.4迁移到1.5.6,对话框Modal和抽屉Drawer中调用子组件出错。 #2244

Closed
1 task
xzz0839 opened this issue May 14, 2020 · 5 comments
Closed
1 task
Labels

Comments

@xzz0839
Copy link

xzz0839 commented May 14, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.5.4

Environment

Win10,Chrome81

Reproduction link

Edit on CodeSandbox

Steps to reproduce

https://codesandbox.io/s/vue-antd-template-rm0gc
第一次点击按钮正常,再次点击按钮出错,1.5.3和之前的版本正常,1.5.4和之后的版本报错。Modal与Drawer有同样的问题。

What is expected?

目前要包两层this.$nextTick才不报错

What is actually happening?

[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'setText' of undefined"
TypeError: Cannot read property 'setText' of undefined

@tangjinzhou
Copy link
Member

临时方案 destroyOnClose= false

@tangjinzhou
Copy link
Member

fix at 529f81c

@zhouyu1993
Copy link

[Vue warn]: Failed to resolve directive: ant-portal

@leaf1992
Copy link

[Vue warn]: Failed to resolve directive: ant-portal
问题解决了吗

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants