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

useModal 调用destory报错 #6760

Closed
1 task
holiy930561 opened this issue Jul 19, 2023 · 1 comment
Closed
1 task

useModal 调用destory报错 #6760

holiy930561 opened this issue Jul 19, 2023 · 1 comment

Comments

@holiy930561
Copy link

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

Version

4.0.0-rc.6

Environment

上面最小化demo

Reproduction link

https://stackblitz.com/edit/vitejs-vite-ugq7b4

Steps to reproduce

打开重现地址

What is expected?

useModal 可以调用destory,destoryAll

What is actually happening?

Uncaught TypeError: modal.destory is not a function

@aibayanyu20
Copy link
Member

demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants