ant-design / ant-design/pro-components
🐛[BUG]ProFormField组件的类型是不是错了
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述

ProFormField组件的render方法识别到的类型是右侧这个,实际上打印出的类型不符合预期
看起来应该是这个才对:

### 🏞 期望结果
希望类型能准确
### © 版本信息
- ProComponents 版本: 2.8.1
- umi 版本
- 浏览器环境 Chrome 130
- 开发环境 Mac OS
Contributor guide
Research direction
Start at the ProFormField component's render method and reproduce the reported type mismatch using the ProComponents 2.8.1 environment described. Compare the type shown by render with the runtime-printed type; done means the component reports the expected type accurately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100