Skip to content

rc1版本的menu菜单收缩和展开也太卡了 #3231

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

Closed
1 task
TothingWay opened this issue Nov 20, 2020 · 2 comments
Closed
1 task

rc1版本的menu菜单收缩和展开也太卡了 #3231

TothingWay opened this issue Nov 20, 2020 · 2 comments
Labels

Comments

@TothingWay
Copy link

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

Version

2.0.0-rc.1

Environment

MacOS 10.15.7

Reproduction link

https://github.com/anncwb/vue-vben-admin/blob/main/CHANGELOG.zh_CN.md

Steps to reproduce

1.后端返回路由列表,使用menu组件动态渲染菜单
2.打开chrome控制台,点击收缩,看到在body创建了很多menu-item相关组件
3.点击展开,会等待body中所有menu-item相关组件移除后再展开
4.收缩展开存在严重卡顿

这里链接是是v-ben-admin更新日志,其中提到这个卡顿,且降级了antd到beta15版本

What is expected?

期望和收缩展开流畅不卡顿

What is actually happening?

期望和收缩展开卡顿

@hj2060
Copy link

hj2060 commented Nov 20, 2020

同样遇到了这个问题 横向导航子菜单在收缩的时候会有虚影 背景非白色时非常明显 1.x 版本就没有这个问题

@tangjinzhou tangjinzhou mentioned this issue Nov 23, 2020
13 tasks
@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 Nov 24, 2021
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

2 participants