fix omi-tree bug
This commit is contained in:
parent
242f5657a5
commit
d3c4937e57
|
@ -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: [] }] }]
|
||||
|
|
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue