vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.28k stars 3.79k forks source link

Use Dropdown in TABS to define a drop-down menu: visible="true", it will be rendered twice #5411

Open mengyu987 opened 2 years ago

mengyu987 commented 2 years ago

Version

3.0.0-beta.10

Environment

win11 vue3

Reproduction link

https://codesandbox.io/s/mystifying-hugle-sw680i?file=/src/demo.vue

Steps to reproduce

What is expected?

期望修复

What is actually happening?

重复渲染

github-actions[bot] commented 2 years ago

Hello @mengyu987. Please provide a online reproduction by forking this link for vue2link for vue3 or a minimal GitHub repository. Make sure to choose the correct version.

你好 @mengyu987, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

tangjinzhou commented 2 years ago

https://github.com/vueComponent/ant-design-vue/issues/4271

mengyu987 commented 2 years ago

我在找在线链接,我找到了会放上来

mengyu987 commented 2 years ago

https://codesandbox.io/s/mystifying-hugle-sw680i?file=/src/demo.vue 这个是在线链接,但是进去会报找不到模块,刷新下就好了,然后进去点击那个click me按钮

mengyu987 commented 2 years ago

@tangjinzhou

tangjinzhou commented 2 years ago

ref https://github.com/ant-design/ant-design/issues/27699

mengyu987 commented 2 years ago

参考蚂蚁设计/蚂蚁设计#27699 啊?? 我有点不太理解,没有看到解决方案呀宝贝

tangjinzhou commented 2 years ago

只是记录相关 issue,暂时没有好的解决方案

你可以试试将最后一个 tabpane 做成 click me

mengyu987 commented 2 years ago

只是记录相关问题,暂时没有好的解决方案

你可以尝试将最后一个 tabpane 点击我

好的呀! 谢谢你呀! 么么