fix omi-tree bug

This commit is contained in:
dntzhang 2017-05-02 10:12:12 +08:00
parent 242f5657a5
commit d3c4937e57
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@
}(_index2['default'].Component);
_index2['default'].render(new App({
demoName: 'Omi Tree Demo',
demoName: 'Omi Tree Demo (support drag and drop to move the node)',
rootNode: {
name: 'Root',
children: [{ name: 'A', id: 1, children: [{ id: 4, name: 'A1', children: [] }, { id: 7, name: 'A2', children: [] }] }, { name: 'B', id: 2, children: [{ id: 5, name: 'B1', children: [] }, { id: 8, name: 'B2', children: [] }] }, { name: 'C', id: 3, children: [{ id: 6, name: 'C1', children: [] }, { id: 9, name: 'C2', children: [] }] }]

View File

@ -14,7 +14,7 @@ class App extends Omi.Component {
}
Omi.render(new App( {
demoName : 'Omi Tree Demo',
demoName : 'Omi Tree Demo (support drag and drop to move the node)',
rootNode: {
name: 'Root',
children: [