Commit Graph

130 Commits (8b8a1a2e87d17ad410672143c0a981c254159619)

Author SHA1 Message Date
huming 905e812fb5 Tree: set isCurrent prop to False (#15870) 2019-07-04 11:30:02 +08:00
VanMess ca9a0330f8 Tree: Fix issue #15538 caused by two Tree sharing the same data. (#15615)
* Tree: fix #15538 by adding more detect logic.

* Tree: fix #15538 and add test case.

* Tree: fix eslint error

* Tree: remove arrayContains function
2019-06-21 17:36:20 +08:00
阿尔卑斯 1b8e3d823b Tree: Modify loop conditions to improve performance (#15699) 2019-06-21 17:36:20 +08:00
Inside cead2a8be3 Tree: not highlight tree node when currentKey is null (#15668) 2019-06-21 17:36:20 +08:00
ChenZhuoSteve 0e0a506193 Tree: improve performance (#14881) 2019-04-23 10:52:02 +08:00
Jeff Wen 6ae9f0838f Tree: delete current node after it removed (#14604) 2019-04-22 17:38:08 +08:00
hetech 314e7fbaee Tree: revert pr #13349 (#14847) 2019-03-27 18:28:50 +08:00
KidneyFlower c2e7e17a21 Tree: fix a bug that caused `showCheckbox` props on `Tree` can not affect their children `tree-node` 2018-12-05 16:30:21 +08:00
dive2Pro d97555bdde Tree: fixed `default-checked-keys` display wrong (#13349)
* fix: 12383 Tree in lazy mode set child node 'default-checked-keys', display wrong:All nodes are fulfilled

* 添加测试

* fix code style

* update style
2018-11-13 10:31:22 +08:00
Anton Kuznetsov 2b7fa617ae Tree: add currentNodeKey property declaration and fix test for currentNodeKey (#13197)
* Add currentNodeKey property declaration, fix test for currentNodeKey

* translate Chines doc
2018-11-08 19:28:24 +08:00
hetech d1440c9608
Tree: add iconClass attribute (#13337) 2018-11-07 19:06:36 +08:00
hetech 0e617d0fc6
Tree: show indicator in drop node (#12854) 2018-09-21 19:12:42 +08:00
hetech 3cf277c616
Tree: fix tree node not deleted (#12684) 2018-09-10 11:45:37 +08:00
hetech 915fc52a1c
Tree: fix add node bug in lazy mode (#12265) 2018-08-10 15:31:28 +08:00
hetech 3da485b617 Tree: register node after dragging (#12279)
* Tree: register node after dragging

* update Tree docs
2018-08-08 18:07:16 +08:00
hetech 3ed724492f Tree: add includeHalfChecked flag to getCheckedNodes (#12014) 2018-07-25 17:42:53 +08:00
hetech 51877f6d65
Tree: not check node when check-strictly is true (#12106) 2018-07-25 11:32:35 +08:00
Jikkai Xiao 4167809446
Tree: fix keydown event in Tree (#12008) 2018-07-16 17:09:38 +08:00
hetech b18642f716
Tree: fix defaultCheckedKeys and emptyText bug (#11971) 2018-07-12 19:17:23 +08:00
hetech d3224b582b Tree: not check node when it's disabled (#11847) 2018-07-03 18:27:50 +08:00
hetech d73821bc72 Tree: fix TreeNode dragged to wrong position (#11797) 2018-06-29 15:55:31 +08:00
杨奕 48c7bcc933
Tree: optimize not-allowed dropping cursor (#11631) 2018-06-14 18:14:39 +08:00
hetech 34471f76e9
Update node.js 2018-06-04 11:05:54 +08:00
wangjingf eaba784667
Update node.js
this.data可能为undefined,需要判断一下
2018-06-04 10:38:02 +08:00
wangjingf 87d591c356
Update node.js 2018-05-31 15:08:55 +08:00
wangjingf 07af6acf6f
Update node.js 2018-05-31 14:55:57 +08:00
wangjingf 612f952804
Update node.js 2018-05-31 14:31:57 +08:00
hetech a230e4a0ff Tree: when tree nodes filtered, don't expand node in lazy mode (#11395) 2018-05-30 10:55:23 +08:00
杨奕 f9dffdd12c
Tree: fix markNodeData error when data is falsy (#11376) 2018-05-28 16:57:00 +08:00
杨奕 e809720ce4
Tree: setCurrentKey cancels highlight when param is null (#11205) 2018-05-17 13:30:58 +08:00
杨奕 68db03fc22
Tree: add checkOnClickNode (#11111) 2018-05-10 18:01:49 +08:00
杨奕 e51e9fe8ba
Tree: drag events should return if not draggable (#11095) 2018-05-10 11:56:49 +08:00
Weimengxi 6443850aa3 Tree: make checkStrictly responsive (#10867)
* Tree: fix model.TreeStore.checkStrictly doesn't change along with the change of tree.props.checkStrictly

* Update tree.vue
2018-04-24 19:51:03 +08:00
杨奕 1d33bae558
Tree: fix allowDrop's type behavior (#10821) 2018-04-21 15:02:22 +08:00
杨奕 e8e2fc425b
Tree: add type as allow-drop's 3rd param (#10792) 2018-04-19 19:25:59 +08:00
杨奕 10f5a661f5
Tree: address some draggable issues (#10494) 2018-03-31 14:29:09 +08:00
杨奕 f8e8a994e9
Tree: fix drag event error (#10474) 2018-03-30 14:33:13 +08:00
杨奕 8debdac9cc
Tree: update drag and drop docs (#10396) 2018-03-28 13:22:23 +08:00
FuryBean 4fe58a3d96 Tree: update drag and drop logic (#10372) 2018-03-28 11:46:48 +08:00
Harlan d7c4fd2632 Tree: support drag and drop node (#9251) 2018-03-20 13:42:04 +08:00
FuryBean 0c8523bce9 Tree: stopPropagation and preventDefault for node-contextmenu if bound (#10123) 2018-03-14 15:16:52 +08:00
FuryBean fe29af1b1f Add check event and getHalfChecedNodes method for Tree (#9730) 2018-02-09 10:31:11 +08:00
FuryBean 6bef614c01 add api for tree (#9718) 2018-02-09 10:28:43 +08:00
杨奕 248b1bf8de
Tree: support scoped slot (#9686) 2018-02-06 16:45:27 +08:00
FuryBean 3bc67fa575 Tree: add node-contextmenu event for tree node (#9678) 2018-02-06 11:42:01 +08:00
Leopoldthecoder 351f900df6 Tree: add renderAfterExpand 2017-12-24 19:13:17 +08:00
Leopoldthecoder 4a7f3c82ad Chore: misc updates 2017-12-15 16:45:15 +08:00
Leopoldthecoder 2884984097 Tree: fix keyboard event 2017-11-15 11:15:26 +08:00
Leopoldthecoder ed511e9219 Tree & Breadcrumb: fix setAttribute to undefined bug 2017-11-13 17:29:16 +08:00
Leopoldthecoder 64f154839c Chore: replace includes with indexOf 2017-11-12 14:27:20 +08:00