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

DropMenuItem组件报警告"Invalid prop name: key is a reserved property" #3639

Closed
4 tasks done
cszhjh opened this issue Mar 1, 2024 · 0 comments · Fixed by #3640
Closed
4 tasks done

DropMenuItem组件报警告"Invalid prop name: key is a reserved property" #3639

cszhjh opened this issue Mar 1, 2024 · 0 comments · Fixed by #3640

Comments

@cszhjh
Copy link

cszhjh commented Mar 1, 2024

⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

  • 已阅读 文档.
  • 确保您的代码已是最新或者所报告的 Bug 在最新版本中可以重现. (部分 Bug 可能已经在最近的代码中修复)
  • 已在 Issues 中搜索了相关的关键词
  • 不是 ant design vue 组件库的 Bug

描述 Bug

Vue.js 3.4.18 版本增加了"key"作为保留属性的检查,所以在定义props中含有"key"的声明会报警告。相关 commit: vuejs/core@77a804b

复现 Bug

登陆系统后鼠标hover到heder区域的user dropdown时会触发警告
2024-03-01 17 28 45

系统信息

  • 操作系统: macOS Ventura
  • Node 版本: v18.16.1
  • 包管理器 (npm/yarn/pnpm) 及其版本: npm(9.5.1)
wangjue666 pushed a commit that referenced this issue Mar 2, 2024
xxs3315 pushed a commit to xxs3315/vue-vben-admin that referenced this issue Mar 7, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant