Files
Situation-Awareness-Platfor…/src/components/Header/README.md

26 lines
575 B
Markdown
Raw Normal View History

2025-03-12 18:41:20 +08:00
# Header
### 说明
- 全局通用Header组件
``` js
<Header />
<Header>
<template #info>
这是左侧插槽
</template>
<template #menu>
这是右侧插槽一般用于插入菜单Tab组件
</template>
</Header>
```
### Slots
| 名称 | 说明 |
|---------------------|---------------------------------------------|
| info | 第二行左侧,常用语显示用户信息等 |
| menu | 第二行右侧常用于定义路由Tab等 |