feat: add support for custom slot header-index, sorted by index (#4039)
* 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>
This commit is contained in:
7
packages/effects/layouts/src/basic/README.md
Normal file
7
packages/effects/layouts/src/basic/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
## layout
|
||||
|
||||
### header
|
||||
|
||||
- 支持N个自定义插槽,命名方式:header-right-n,header-left-n
|
||||
- header-left-n ,排序方式:1-5 ,breadcrumb,6-x
|
||||
- header-right-n ,排序方式:1-4,global-search,6-9,theme-toggle,11-14,language-toggle,16-19,fullscreen,21-24,notification,26-29,user-dropdown,30-x
|
Reference in New Issue
Block a user