Commit c815744265e39a3f44a06f9a92db699f70896667
1 parent
5e7ad5e0
fixed #499
Showing
2 changed files
with
21 additions
and
21 deletions
Show diff stats
examples/routers/tree.vue
| ... | ... | @@ -38,26 +38,26 @@ |
| 38 | 38 | ] |
| 39 | 39 | }] |
| 40 | 40 | }, |
| 41 | -// { | |
| 42 | -// expand: true, | |
| 43 | -// title: 'parent 1', | |
| 44 | -// children: [{ | |
| 45 | -// title: 'parent 1-0', | |
| 46 | -// expand: true, | |
| 47 | -// children: [{ | |
| 48 | -// title: 'leaf' | |
| 49 | -// }, { | |
| 50 | -// title: 'leaf', | |
| 51 | -// }] | |
| 52 | -// }, { | |
| 53 | -// title: 'parent 1-1', | |
| 54 | -// expand: true, | |
| 55 | -// checked: true, | |
| 56 | -// children: [{ | |
| 57 | -// title: '<span style="color: red">leaf</span>', | |
| 58 | -// }] | |
| 59 | -// }] | |
| 60 | -// } | |
| 41 | + { | |
| 42 | + expand: true, | |
| 43 | + title: 'parent 1', | |
| 44 | + children: [{ | |
| 45 | + title: 'parent 1-0', | |
| 46 | + expand: true, | |
| 47 | + children: [{ | |
| 48 | + title: 'leaf' | |
| 49 | + }, { | |
| 50 | + title: 'leaf', | |
| 51 | + }] | |
| 52 | + }, { | |
| 53 | + title: 'parent 1-1', | |
| 54 | + expand: true, | |
| 55 | + checked: true, | |
| 56 | + children: [{ | |
| 57 | + title: '<span style="color: red">leaf</span>', | |
| 58 | + }] | |
| 59 | + }] | |
| 60 | + } | |
| 61 | 61 | ] |
| 62 | 62 | } |
| 63 | 63 | }, | ... | ... |