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>
```