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

关于二级目录下的菜单缓存问题 #212

Open
itcbx opened this issue Mar 28, 2023 · 6 comments
Open

关于二级目录下的菜单缓存问题 #212

itcbx opened this issue Mar 28, 2023 · 6 comments

Comments

@itcbx
Copy link

itcbx commented Mar 28, 2023

使用的mastar代码,如果菜单是在二级目录,即和系统的日志管理那样有二级菜单,在vue文件里设置路由名称为一致的话,也不能正常缓存,不知道是怎么回事。

@itcbx
Copy link
Author

itcbx commented Mar 28, 2023

同样的,尝试放在“日志管理”菜单的下面,也是缓存不了

@wenjianzhang
Copy link
Member

页面中的name要和菜单中的name一致才行

@itcbx
Copy link
Author

itcbx commented Apr 7, 2023

我已经说了,在vue文件里设置路由名称为一致的话,也不能正常缓存。

@wenjianzhang
Copy link
Member

可以看一下浏览器的检查中的网络部分,页面的nam和菜单中的是一一对应的正常是可以缓存数据的哦

@itcbx
Copy link
Author

itcbx commented May 13, 2023

测了确实是不行,你有没有试看看

@itcbx
Copy link
Author

itcbx commented May 13, 2023

你随便在日志管理菜单下面再建个二级菜单,再把名字弄成一致的,就是缓存不了

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

2 participants