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
+2 -10
View File
@@ -24,11 +24,7 @@ Vue.use(List);
finished-text="Finished"
@load="onLoad"
>
<van-cell
v-for="item in list"
:key="item"
:title="item"
/>
<van-cell v-for="item in list" :key="item" :title="item" />
</van-list>
```
@@ -68,11 +64,7 @@ export default {
error-text="Request failed. Click to reload"
@load="onLoad"
>
<van-cell
v-for="item in list"
:key="item"
:title="item"
/>
<van-cell v-for="item in list" :key="item" :title="item" />
</van-list>
```
+2 -10
View File
@@ -26,11 +26,7 @@ List 组件通过`loading`和`finished`两个变量控制加载状态,当组
finished-text="没有更多了"
@load="onLoad"
>
<van-cell
v-for="item in list"
:key="item"
:title="item"
/>
<van-cell v-for="item in list" :key="item" :title="item" />
</van-list>
```
@@ -75,11 +71,7 @@ export default {
error-text="请求失败,点击重新加载"
@load="onLoad"
>
<van-cell
v-for="item in list"
:key="item"
:title="item"
/>
<van-cell v-for="item in list" :key="item" :title="item" />
</van-list>
```