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

ModalOptions does not support parentContext property #4305

Closed
1 task
kimyyx opened this issue Jul 1, 2021 · 1 comment
Closed
1 task

ModalOptions does not support parentContext property #4305

kimyyx opened this issue Jul 1, 2021 · 1 comment
Labels

Comments

@kimyyx
Copy link

kimyyx commented Jul 1, 2021

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

Version

2.1.4

Environment

Vue 3.0.11、typescript 4.1.5

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/2.1.6/components/modal/Modal.tsx

Steps to reproduce

用 ts 开发的时候,当 Modal.confirm 中传入 parentContext 时

What is expected?

可以正常是使用 parentContext

What is actually happening?

现在 ts 会提示 parentContext' does not exist in type 'ModalFuncProps


希望可以在官网的文档里提供一个使用 parentContext 的用例

@github-actions github-actions bot changed the title ModalOptions 不支持 parentContext 属性 ModalOptions does not support parentContext property Jul 1, 2021
@github-actions
Copy link

github-actions bot commented Jul 2, 2022

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 Jul 2, 2022
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

1 participant