Files
mes-ui-d2/static/md/组件 - 页面容器 - 基础.md
liyang 8cc55e1bf7 no message
Former-commit-id: afef3af60139bd559aa150052fc3a72ec2f384a4
Former-commit-id: e2b324d8476ca2a52c625f2aee16972708a43bec
Former-commit-id: ab3a3d9097c684c0fb1b54b1a5f228157b2f81ff
2018-06-10 08:39:06 +08:00

18 lines
245 B
Markdown

## 基础页面容器
高度根据内容适应
```
<d2-container>
主体内容
</d2-container>
```
使用 `slot`
```
<d2-container>
<template slot="header">我是插入到 header 中的内容</template>
主体内容
</d2-container>
```