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

FEATURE: 头部区域BasicLayout有些不合理,建议增加多个插槽 #4034

Closed
3 tasks done
ywwsw opened this issue Aug 4, 2024 · 0 comments · Fixed by #4039
Closed
3 tasks done

FEATURE: 头部区域BasicLayout有些不合理,建议增加多个插槽 #4034

ywwsw opened this issue Aug 4, 2024 · 0 comments · Fixed by #4039
Labels
enhancement New feature or request

Comments

@ywwsw
Copy link

ywwsw commented Aug 4, 2024

Version

Vben Admin Pro

Description

目前的BasicLayout 自定的插槽太少了,都固定在系统级里面,这里又不敢乱改,更新后肯定要动的!
比如我想在头部增加点自定义按钮都要去修改源文件!

Proposed Solution

建议增加多个插槽
微信图片_20240804131025

Alternatives Considered

No response

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@anncwb anncwb added enhancement New feature or request and removed enhancement New feature or request labels Aug 4, 2024
jinmao88 added a commit that referenced this issue Aug 5, 2024
anncwb pushed a commit that referenced this issue Aug 6, 2024
* feat: header右侧支持n个自定义位置插槽,插槽命名方式header-index,根据index大小排序。
框架默认插槽user-dropdown的index:20,notification的index:10 (#4034)

* chore: 将默认组件加入排序

* chore: 更改slot命名方式支持header左侧自定义插槽,命名方式:header-right-n,header-left-n,具体位置看README

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants