fix(upload): fix progress percent, support uploadPastedFiles #2671
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
📝 更新日志
feat(Space): 元素为空时,不再渲染一个子元素
fix(Table): 修复筛选值为
0/false
时,筛选图标不能高亮问题fix(Upload): 修复手动上传时,无法更新上传进度问题
fix(Upload): 修复
uploadFilePercent
参数类型问题feat(Upload): 新增支持使用
uploadPastedFiles
粘贴上传文件feat(Upload): 输入框类型的上传组件,新增类名
t-upload--theme-file-input
feat(Upload): 新增支持
uploadPastedFiles
,表示允许粘贴上传文件feat(Upload): 支持
fileListDisplay=null
时,隐藏文件列表;并新增更加完整的fileListDisplay
参数,用于自定义 UIfeat(Upload): 新增
cancelUploadButton
和uploadButton
,支持自定义上传按钮和取消上传按钮feat(Upload): 新增
imageViewerProps
,透传图片预览组件全部属性feat(Upload): 新增
showImageFileName
,用于控制是否显示图片名称feat(Upload): 支持传入默认值为非数组形式,#2471
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单