docs: make document more compact

This commit is contained in:
陈嘉涵
2020-01-19 19:52:46 +08:00
parent bb53c3c758
commit 3a4107ef49
40 changed files with 56 additions and 162 deletions
+1 -5
View File
@@ -82,11 +82,7 @@ export default {
If you need to render vue components within a dialog, you can use dialog component.
```html
<van-dialog
v-model="show"
title="Title"
show-cancel-button
>
<van-dialog v-model="show" title="Title" show-cancel-button>
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
</van-dialog>
```
+1 -5
View File
@@ -108,11 +108,7 @@ export default {
如果需要在弹窗内嵌入组件或其他自定义内容,可以使用组件调用的方式
```html
<van-dialog
v-model="show"
title="标题"
show-cancel-button
>
<van-dialog v-model="show" title="标题" show-cancel-button>
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
</van-dialog>
```