Skip to content

Commit

Permalink
chore: release 1.9.6-naruto (#3214)
Browse files Browse the repository at this point in the history
* fix(Tree): fix tree warning (#3212)

* fix(Tree): fix tree warning

* chore: revert change

* chore: release 1.9.6 (#3213)

* chore: release 1.9.6

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
uyarn and github-actions[bot] authored Jun 26, 2024
1 parent 91eed00 commit 5c621ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ toc: false
docClass: timeline
---

## 🌈 1.9.6 `2024-06-26`
### 🐞 Bug Fixes
- `Tree`: 修复 `1.9.5` 版本使用拖拽功能的报错问题 @uyarn ([#3212](https://github.com/Tencent/tdesign-vue/pull/3212))

## 🌈 1.9.5 `2024-06-20`
### 🚀 Features
- `Transfer`: 修复通过 `Function` 方法使用 `Tree` 属性的能力 @sinbadmaster ([#3185](https://github.com/Tencent/tdesign-vue/pull/3185))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-vue",
"purename": "tdesign",
"version": "1.9.5-naruto",
"version": "1.9.6-naruto",
"description": "tdesign-vue",
"title": "tdesign-vue",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/tree/hooks/useDragHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function useDragHandle(state: TypeTreeState) {
e: dragEvent,
};

if (props.allowDrop(ctx) === false) return;
if (props.allowDrop?.(ctx) === false) return;

const nodes = store.getNodes() as TreeNode[];
nodes.some((_node) => {
Expand Down

0 comments on commit 5c621ca

Please sign in to comment.