no message
Former-commit-id: a589a4ea4e4f45393d91d557db4b4b3e3f72d47b Former-commit-id: 18483145821bf3445974734a7f8bdf392cd74666 Former-commit-id: 632d9abab39bb0311e169b1b982dbb2bd81e499e
This commit is contained in:
18
src/pages/demo/components/container/md/doc-card.md
Normal file
18
src/pages/demo/components/container/md/doc-card.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## 基础页面容器
|
||||
|
||||
高度根据内容适应
|
||||
|
||||
```
|
||||
<d2-container>
|
||||
主体内容
|
||||
</d2-container>
|
||||
```
|
||||
|
||||
使用 `slot`
|
||||
|
||||
```
|
||||
<d2-container>
|
||||
<template slot="header">我是插入到 header 中的内容</template>
|
||||
主体内容
|
||||
</d2-container>
|
||||
```
|
||||
Reference in New Issue
Block a user