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

The icon of Menu.Item cannot enter the slot #5390

Closed
1 task
mapleby opened this issue Mar 24, 2022 · 4 comments
Closed
1 task

The icon of Menu.Item cannot enter the slot #5390

mapleby opened this issue Mar 24, 2022 · 4 comments
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated

Comments

@mapleby
Copy link

mapleby commented Mar 24, 2022

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

Version

3.1.0-rc.2

Environment

Vue@3.2.31

Reproduction link

https://next.antdv.com/components/menu-cn#API

Steps to reproduce

我根据官方代码进行复制粘贴组件Menu.Item 在对 icon 进行插入的时候,始终保持原有的状态,图标无任何变化,无法载入自己的图标。

What is expected?

我想正常使用

What is actually happening?

Menu.Item 在进行 slot icon 时候失效了
image
image

@github-actions github-actions bot changed the title Menu.Item 的icon 无法进slot The icon of Menu.Item cannot enter the slot Mar 24, 2022
@mapleby
Copy link
Author

mapleby commented Mar 24, 2022

已经发现问题了,
image
dang
当已i图标作为插槽内容时候就不显示

@tangjinzhou tangjinzhou added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 24, 2022
@github-actions
Copy link

Hello @mapleby. 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.

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

@mapleby
Copy link
Author

mapleby commented Mar 24, 2022

这是实例复现链接 https://codesandbox.io/s/runtime-star-yqu22h

@github-actions
Copy link

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 Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated
Projects
None yet
Development

No branches or pull requests

2 participants