Skip to content

Modal组件是挂载到body上的,为什么不显示呢,会跟随到父组件的状态变化? #1031

Discussion options

You must be logged in to vote

不是挂载的问题,而是你把弹窗组件放在菜单里的话,当菜单销毁时弹窗也被销毁了,移到 Dropdown 外面 @Justin3go

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Justin3go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants