Commit Graph

64 Commits (2d267a19d272b498b25abdacdf12cbfd32b61344)

Author SHA1 Message Date
好多大米 4d7d24b200
Tree: fix insertChild (#21194) 2021-08-02 11:16:35 +08:00
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
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
hetech d1440c9608
Tree: add iconClass attribute (#13337) 2018-11-07 19:06:36 +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
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
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 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
Leopoldthecoder 7f8991a664 Tree: fix updateChildren 2017-11-09 15:19:09 +08:00
Leopoldthecoder fa522dd2bc Tree: fix updateKeyChildren 2017-11-03 14:11:19 +08:00
Leopoldthecoder 0cca820dac Tree: reserve node expanding state while filtering 2017-10-30 06:22:48 -05:00
Leopoldthecoder 257473f305 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/app.vue
#	examples/docs/en-US/tree.md
#	examples/docs/zh-CN/tree.md
#	examples/versions.json
#	packages/select/src/select.vue
#	packages/theme-default/package.json
2017-09-29 16:21:29 +08:00
Leopoldthecoder 9e67ec3506 Tree: get prop from data if not specified in `props` 2017-09-26 02:00:14 -05:00
Leopoldthecoder 43ecb8818c Merge branch 'dev' into carbon
# Conflicts:
#	packages/date-picker/src/panel/time.vue
2017-09-14 19:33:49 +08:00
Leopoldthecoder 4609154475 Tree: fix current-node-key === 0 bug 2017-09-11 19:49:48 +09:00
Dreamacro 41c19249ab Tree: add check-descendants attribute 2017-08-05 17:36:30 +08:00
Leopoldthecoder 638b025c66 Merge branch 'dev' into carbon 2017-07-27 15:45:12 +08:00
Dreamacro e001f81a88 Tree: select fix 2017-07-25 10:39:04 +08:00
Leopoldthecoder 1cecdbc057 Merge branch 'dev' into carbon 2017-07-24 19:13:02 +08:00
Dreamacro 9f31626923 Tree: add updateKeyChildren method 2017-07-23 17:37:02 +08:00
Dreamacro ce72b8414d add Tree component current node method (#5988)
* Tree: add current node method

* Tree: remove current-node-key attribute

* fix warn message

* Update tree.md

* Update tree.md
2017-07-23 17:28:26 +08:00
Dreamacro a408bf47fe Tree: tree expend once when checked 2017-07-21 12:15:47 +08:00
Dreamacro 79d1ff06f6 Tree: fix lazyload bug 2017-07-20 15:41:43 +08:00
Dreamacro cdd4aa7a8b Tree: fix setCheckedKeys bug 2017-07-20 15:41:43 +08:00
Dreamacro 02459f1833 Tree: fix setCheckedKeys 2017-07-20 15:41:43 +08:00
Dreamacro 476f76875c Tree: checkbox can be disabled 2017-07-20 15:41:43 +08:00
Leopoldthecoder 1c4ff99508 Tree: fix registerNode error when nodeKey is 0 2017-04-24 13:44:27 +08:00
pengchongfu ceccf51793 Tree: sort correctly, fix #4006 (#4107) 2017-04-12 10:19:09 +08:00
baoyang ae8ab4b56c Tree: fix setCheckedKeys() not work on node that has childNodes (#2967) 2017-02-28 16:02:05 +08:00
FuryBean 6c4f8a6867 Tree: add current-change event & current-node-key. (#1807) 2016-12-17 14:09:05 +08:00
Furybean 34756d17ca Tree: fix leaf state not update bug. 2016-12-02 17:48:08 +08:00