1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | const SHOW_PARENT = TreeSelect.SHOW_PARENT; const treeData = [ { value: '0-0' , key: '0-0' , scopedSlots: { title: 'title' }, children: [ { title: 'Child Node1' , value: '0-0-0' , key: '0-0-0' , }, ], }, { title: 'Node2' , value: '0-1' , key: '0-1' , children: [ { title: 'Child Node3' , value: '0-1-0' , key: '0-1-0' , disabled: true , }, { title: 'Child Node4' , value: '0-1-1' , key: '0-1-1' , }, { title: 'Child Node5' , value: '0-1-2' , key: '0-1-2' , }, ], }, ]; |