This commit is contained in:
梁灏 2017-03-27 14:28:42 +08:00
parent 5e7ad5e05a
commit c815744265
2 changed files with 21 additions and 21 deletions

View file

@ -38,26 +38,26 @@
]
}]
},
// {
// expand: true,
// title: 'parent 1',
// children: [{
// title: 'parent 1-0',
// expand: true,
// children: [{
// title: 'leaf'
// }, {
// title: 'leaf',
// }]
// }, {
// title: 'parent 1-1',
// expand: true,
// checked: true,
// children: [{
// title: '<span style="color: red">leaf</span>',
// }]
// }]
// }
{
expand: true,
title: 'parent 1',
children: [{
title: 'parent 1-0',
expand: true,
children: [{
title: 'leaf'
}, {
title: 'leaf',
}]
}, {
title: 'parent 1-1',
expand: true,
checked: true,
children: [{
title: '<span style="color: red">leaf</span>',
}]
}]
}
]
}
},