ant-design / ant-design/pro-components
ProFormUploadButton 设置 beforeUplodate 返回false,还是上传
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🐛 bug 描述
### 📷 复现步骤
### 🏞 期望结果
### 💻 复现代码
### © 版本信息
"antd": "4.24.8"
"@ant-design/pro-components": "2.6.2",
- ProComponents 版本: [2.6.2]
- umi 版本
- 浏览器环境 chorme
- 开发环境 [e.g. mac OS]
### 🚑 其他信息
Contributor guide
Research direction
Start by reproducing the issue with ProFormUploadButton, fieldProps.beforeUpload, and the provided antd 4.24.8 and @ant-design/pro-components 2.6.2 versions. Check whether returning false still triggers the action upload; done means the upload is prevented when beforeUpload returns false.
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
- 30/100