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

When the menu menu is folded on the mobile terminal, clicking to switch will trigger the Vue3 onErrorCaptured hook to report an error #4794

Closed
1 task
yanbowe opened this issue Oct 22, 2021 · 3 comments
Labels

Comments

@yanbowe
Copy link

yanbowe commented Oct 22, 2021

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

Version

3.0.0-alpha.4

Environment

windows10, Chrome 最新版本

Reproduction link

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

Steps to reproduce

打开链接,找到可折叠菜单,打开f12 切换到iphone 6/7/8模式 ,点击已折叠的菜单,浏览器会输出错误

What is expected?

不会报错并不触发Vue3 onErrorCaptured 钩子

What is actually happening?

报错并触发Vue3 onErrorCaptured 钩子

image

@github-actions github-actions bot changed the title menu菜单在移动端折叠情况下点击切换 会触发Vue3 onErrorCaptured 钩子报错 When the menu menu is folded on the mobile terminal, clicking to switch will trigger the Vue3 onErrorCaptured hook to report an error Oct 22, 2021
@yanbowe
Copy link
Author

yanbowe commented Oct 22, 2021

V2.2.8是正常的

@yanbowe
Copy link
Author

yanbowe commented Oct 22, 2021

https://gitee.com/zhongjiancrm/vite-ant-design-vue-v3
可以在此链接上进行Vue3 onErrorCaptured 钩子触发的复现

@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 Oct 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant