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(breadcrumb): 修复路由跳转报错 #718

Closed
wants to merge 2 commits into from

Conversation

algerkong
Copy link

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

显示汉堡菜单之后 跳转路由报错 获取不到path

📝 更新日志

fix(breadcrumb): 修复路由跳转报错

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@algerkong
Copy link
Author

@timi137137 vue3.4.21 useRoute 放在函数内报错
报错
放在函数外不报错 vue3.3则相反 不知道什么引起的

@timi137137
Copy link
Collaborator

原因是因为vue-router更改了核心代码,vue3.4又改了自己的核心代码,导致现在3.3和3.4是互斥的。这个是我们已知的问题暂时不会对3.4做任何处理

@timi137137
Copy link
Collaborator

重构代码后并入,目前在处理中。先关闭PR。
感谢贡献

@timi137137 timi137137 closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants