Browse Source
feat: add support for custom slot header-index, sorted by index (#4039)
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>pull/4059/head
jinmao88
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 104 additions and 16 deletions
-
7packages/effects/layouts/src/basic/README.md
-
98packages/effects/layouts/src/basic/header/header.vue
-
15packages/effects/layouts/src/basic/layout.vue
@ -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 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue