Commit Graph

20 Commits

Author SHA1 Message Date
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
jeremywu
6182fd3b96
fix(project): fix/remove-console-log-statement (#2227)
- Remove unnecessary console.log statement
2021-06-12 08:38:55 +08:00
Zong
f3b9ebf571
fix: use more reasonable type inference (#1963)
Use 'hasOwn' instead of 'hasOwnProperty' to complete more reasonable type inference and avoid possible bugs in the prototype chain.
2021-05-09 10:46:11 +08:00
Ernest
96ab675903
feat(tree): auto expand parent on set current key and node (#1502) (#1508)
* fix(tree): auto expand parent on set current key and node (#1502)

* feat: expose expand-on-highlight-node prop

* Revert "feat: expose expand-on-highlight-node prop"

This reverts commit 9694825e0132522f1a4907d0c7bd91c4bd73b5aa.

* feat: add shouldAutoExpandParent parameter

* test: add tests

* docs: add parameter

* fix: it should only expand parent

* docs: update

* fix: it should only expand parent
2021-03-11 20:51:27 +08:00
Ryan2128
2abf8c45d6
fix(tree): fix error cause by child node's data is not reactive (#1396) 2021-01-31 18:47:35 +08:00
wantMorePayMore
aef2d8cc9e
fix(tree): fix every node @check-change event fire only once (#1390)
* fix(tree): fix every node @check-change event fire only once

fix every node @check-change event fire only once (修复每个node节点@check-change事件仅触发一次问题)

* fix(tree): fix node trigger check-change only once

Co-authored-by: 田梦圆 <tianmengyuan@tianmengyuan-2.local>
Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-01-30 22:11:53 +08:00
Ryan2128
63d1b1bc2e
fix(tree): fix tree node not render in lazy (#1298)
Because `this` pointer is points to origin object in constructor.
2021-01-18 19:52:18 +08:00
bastarder
1efee81cf3
fix(tree): fix tree node don't update after push new node into parent (#1231)
Co-authored-by: bastarder <jie.qian@blockheaders.com>
2021-01-11 10:32:49 +08:00
BeADre
dd341a7376
fix(tree): add deep option for the watch function of data (#1188) 2021-01-04 15:39:20 +08:00
Ryan2128
eb5a04de6c
fix(tree): fix keyboard navigation bug (#995)
* fix(tree): fix keyboard navigation bug

* test(tree): add navigate test case
2020-12-15 20:50:17 +08:00
bastarder
3f99b335e5
fix(tree): Right click event bug (#886)
Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-08 21:04:27 +08:00
jeremywu
2280dd5c5e
fix(project): fix/exporting-fix-for-volar (#849)
- Using `defineComponent` to wrap component up for Volar support, this should close #841
- Also made changes for some typing
- Removed `merge.ts` since `Object.assign` are now supported natively
2020-12-06 23:52:47 +08:00
zazzaz
53dfce0903 chore: update type 2020-11-26 23:26:03 +08:00
zazzaz
b1bdb6de8b
build: add type (#685)
* build: add type

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2020-11-26 23:09:31 +08:00
zazzaz
5a424d4a43
Build/component (#656)
* build: update build conf

* chore: update

* chore: update

* chore: update

* fix: rm mixin
2020-11-23 13:55:48 +08:00
zazzaz
b19d2fc374
fix: correct bundle export (#630)
* fix: correct bundle export

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2020-11-20 20:24:16 +08:00
zazzaz
6b69d0a457
build: fix build bundle (#545)
* chore: update

* chore: update
2020-11-05 19:11:04 +08:00
Caaalabash
128436214e
fix(tree): replace keyCode (#369)
* fix(tree): replace keyCode

* fix: loop error
2020-09-30 10:50:39 +08:00
bastarder
12814a868a feat(tree): tree component optimize code 2020-09-27 11:33:31 +08:00
bastarder
567da19429 feat(tree): tree component 2020-09-27 11:33:31 +08:00