[Doc] update list usage (#1826)

This commit is contained in:
neverland
2018-09-19 13:47:06 +08:00
committed by GitHub
parent d1cb1bc58e
commit 9624b9a8cc
2 changed files with 16 additions and 3 deletions
+5 -1
View File
@@ -18,7 +18,11 @@ Vue.use(List);
:finished="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>
```