Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree 中的 onDrop 事件 type 不完整 #12269

Closed
1 task
Darmody opened this issue Sep 17, 2018 · 1 comment
Closed
1 task

Tree 中的 onDrop 事件 type 不完整 #12269

Darmody opened this issue Sep 17, 2018 · 1 comment
Assignees

Comments

@Darmody
Copy link

Darmody commented Sep 17, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.9.2

Environment

Mac, Chrome

Reproduction link

https://ant.design/components/tree-cn/#Tree-props

Steps to reproduce

使用Tree的onDrop事件时,定义的参数类型和实际获取到的参数类型不同

What is expected?

Tree 的 onDrop 事件的类型定义应该与实际一致

What is actually happening?

实际上 onDrop 事件的类型定义只有 event 和 node.

@ant-design-bot
Copy link
Contributor

Translation of this issue:


The onDrop event in ## Tree is incomplete

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.9.2

Environment

Mac, Chrome

Reproduction link

https://ant.design/components/tree-cn/#Tree-props

Steps to reproduce

When using the tree's onDrop event, the defined parameter type is different from the actual obtained parameter type.

What is expected?

The type definition of the tree's onDrop event should be consistent with the actual

What is actually happening?

In fact, the type definition of the onDrop event is only event and node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants