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

Questions about the properties and functions of some components of version 3.0 #4823

Closed
1 task
wubiandaxian opened this issue Oct 29, 2021 · 2 comments
Closed
1 task

Comments

@wubiandaxian
Copy link

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

Version

3.0.0-alpha.6

Environment

windows, Chrome(89.0.4389.114),3.2.20

Reproduction link

https://next.antdv.com/components/tree-cn#API

Steps to reproduce

由v2.2.8版本升级至3.0.0.6版本

What is expected?

antdv升级后,jsx开发下:

  1. 发现很多组件的属性没了,点进去看.d.ts文件,发现也是_default:any,这个是故意的,还是目前v3版本的类型不完善?
  2. 一些组件有props,但是不全,跟目前文档对比起来,缺失很多。文档上有,但是写代码的时候报错,最终也不知道这个属性到底有没有用;
  3. 非常致命的一个问题,组件属性不起作用,v2下功能是正常的,v3就不行了。目前发现Tree组件,TreeNode 的selectable属性控制不住了。

What is actually happening?

jsx下开发,类型提示不全

@github-actions github-actions bot changed the title 关于3.0版本的一些组件属性和功能的疑问 Questions about the properties and functions of some components of version 3.0 Oct 29, 2021
@wubiandaxian
Copy link
Author

@tangjinzhou 我本地升级到3.0.0.8了,看了几个组件,类型提示都可以了,但发现那个TreeSelect组件里面, TreeNode 的selectable属性,还是不起作用,最新文档这个属性还是在的,这是个bug不?

@github-actions
Copy link

github-actions bot commented Nov 2, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants