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

fix: 修复Dialog自定义关闭事件不清除body样式类问题 #111

Merged
merged 2 commits into from
Apr 18, 2022
Merged

fix: 修复Dialog自定义关闭事件不清除body样式类问题 #111

merged 2 commits into from
Apr 18, 2022

Conversation

yangjinjun3
Copy link
Contributor

No description provided.

@@ -5,12 +5,18 @@ interface DialogWrapperProps {
visible?: boolean
title?: ReactNode
footer?: ReactNode
lockScroll?: boolean
onCancel?: Function
onClosed?: Function
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修改成具体的方法类型,不建议使用 Function

@oasis-cloud oasis-cloud merged commit 3a24891 into jdf2e:main Apr 18, 2022
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

Successfully merging this pull request may close these issues.

dialog弹窗组件自定义的关闭按钮,关闭后页面还是被锁住
2 participants