vbenjs / vue-vben-admin

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
https://www.vben.pro
MIT License
24.25k stars 6.61k forks source link

Bug: vben Admin官网示例 顶部菜单混合模式下开启分割菜单。在切换回左侧菜单模式,左侧菜单不能正常显示回之前的状态 #4344

Open meishaonian123 opened 1 week ago

meishaonian123 commented 1 week ago

Version

Vben Admin V2

Describe the bug?

image

image

Reproduction

官网示例:https://v2.vben.pro/#/comp/form/basic

System Info

System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 113.44 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.14.1 - ~/.nvm/versions/node/v16.14.1/bin/node
    npm: 6.14.18 - ~/.nvm/versions/node/v16.14.1/bin/npm
  Browsers:
    Chrome: 128.0.6613.120
    Edge: 128.0.2739.67
    Safari: 16.5.2

Relevant log output

No response

Validations

meishaonian123 commented 1 week ago

修改部分代码后分割菜单功能正常,但不知道之前的处理逻辑为什么要加上限制 image

anncwb commented 1 week ago

v2版本这种bug不会去修复了,可以帮忙排查并提PR