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

3.4.3版本,左侧菜单点击后会收起来,需要如何设置可以保持展开的状态 #22

Open
yinqichao opened this issue Apr 11, 2023 · 5 comments

Comments

@yinqichao
Copy link

版本号:3.4.3
前端版本:vue2版
问题描述:

左侧三级菜单(图1)点击后,会自动收拢(图2),要如何设置可以保持点击后依然处于展开的状态?

截图&代码:

图1:
image

图2:
image

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

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@zhangdaiscott
Copy link
Member

个性化的需求,自己研究下吧

@yinqichao
Copy link
Author

怎么会是个性化的需求呢?之前的版本都没有这个问题的,3.4.3版本才会出现这个问题

@zhangdaiscott zhangdaiscott reopened this Apr 11, 2023
@zhangdaiscott zhangdaiscott reopened this Apr 11, 2023
@zhangdaiscott zhangdaiscott transferred this issue from jeecgboot/JeecgBoot Apr 11, 2023
@zhangdaiscott
Copy link
Member

d05a54a

@a2774206
Copy link

修改 components/menu/index.js

$route:function(r){
     if(this.$route.path!=r.path){
        this.updateMenu();
     }
 }

@goatown
Copy link

goatown commented May 18, 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

4 participants