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

配置了多级菜单,导致刷新页面等待时间超过10秒以上 #1316

Open
cccsaber opened this issue Nov 18, 2024 · 0 comments
Open

Comments

@cccsaber
Copy link

版本号:

V3.7.0

问题描述:

配置一级菜单12条,每一级菜单下有3-5个二级菜单,每二级菜单有3-5个三级菜单,页面刷新 起码要 等个15秒左右

截图&代码:

前端文件 src/router/helper/routeHelper.ts 这个函数asyncImportRoute 递归性能损耗导致的

前端安装环境:
  • 采用的是pnpm安装
  • node版本号:v16.14.2
  • pnpm版本号:8.7.4

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant