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

feat(Upload): support capture props #1644

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Conversation

anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Nov 19, 2024

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

fix #1293
fix #1345

相关PR

TDesignOteam/tdesign-api#475

💡 需求背景和解决方案

注意:capture 无法确保所有环境下都支持

capture 属性支持说明
https://caniuse.com/?search=HTML%20element%3A%20input%3A%20capture

📝 更新日志

  • feat(Upload): 新增 capture 属性

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

github-actions bot commented Nov 19, 2024

完成

@liweijie0812
Copy link
Collaborator

有API 移除,要补录API了

@anlyyao
Copy link
Collaborator Author

anlyyao commented Nov 19, 2024

@liweijie0812 没有移除,是因为当时直接把pc的hook拿过来了,里面有部分api是目前移动端未对外暴露的但useUpload.ts 中又有使用。

已恢复。 tdesign-api中,等后续对外暴露在补录

@liweijie0812 liweijie0812 merged commit d70ff31 into develop Nov 19, 2024
11 checks passed
@liweijie0812 liweijie0812 deleted the feat/upload/capture branch November 19, 2024 09:50
@github-actions github-actions bot mentioned this pull request Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants