-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
菜单折叠按钮设置底部,页面宽度缩小至960 ,菜单折叠事件失效 #3605
Labels
pr welcome
Welcome developers to submit Pull Requests to the project
Comments
@SanpLee 原因是 Layout 组件定义的 lg: '992px',但是 vben 里面定义的是 lg: '960px', 错误的给 collapsedWidth 提前赋值为 0,导致操作失效。把原来的breakpoint="lg"改成breakpoint="md",貌似可以绕过这个问题。 |
试了,这种方式果然可以,我找了半天都没解决 |
@SanpLee 不知道有没有副作用,尴尬 |
likui628
added
the
pr welcome
Welcome developers to submit Pull Requests to the project
label
Feb 19, 2024
只可惜ant-design-vue那里是写死的 也不建议改breakpoint.less,可以在LayoutSider内监听窗口大小以控制折叠。 |
ethan-wilson-1291
pushed a commit
to ethan-wilson-1291/vue-vben-admin
that referenced
this issue
Feb 2, 2025
* fix(LayoutSidre): resolve the breakpoint conflict * docs: update comment * fix(LayoutSider): add trigger footer limit
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
描述 Bug
菜单折叠按钮设置底部,页面宽度缩小至960 ,菜单折叠事件失效
以下是项目设置,
系统信息
The text was updated successfully, but these errors were encountered: