[bug fix]: Advanced Component document

This commit is contained in:
WyTiny 2017-10-24 04:38:25 -05:00 committed by neverland
parent 8c4866e6a7
commit 1bf316ab99
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ Vue.component(CellSwipe.name, CellSwipe);
<van-cell-group>
<van-cell title="Cell" value="Cell Content"></van-cell>
</van-cell-group>
<span slot="right">Delete/span>
<span slot="right">Delete</span>
</van-cell-swipe>
```
:::

View File

@ -139,7 +139,7 @@ export default {
| itemclick | triggered when item is selected | data: selected item |
### Data Structure
#### Data Structure of `items`
`items` should be an array contains specified tree objects.
In every tree object, `text` property defines the name, `id` stands for the unique key while the `children` contains sub-tree objects.