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): data function support return Promise(#22529) #24546

Merged
merged 1 commit into from
May 28, 2020
Merged

feat(upload): data function support return Promise(#22529) #24546

merged 1 commit into from
May 28, 2020

Conversation

kerm1it
Copy link
Member

@kerm1it kerm1it commented May 28, 2020

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Perfermance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fix #22529

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Upload data could return Promise now.
🇨🇳 Chinese Upload data 属性支持返回 Promise

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

View rendered components/upload/index.en-US.md
View rendered components/upload/index.zh-CN.md

@kerm1it kerm1it changed the title feat(upload): data support return Promise(#22529) feat(upload): data function support return Promise(#22529) May 28, 2020
@ant-design-bot
Copy link
Contributor

ant-design-bot commented May 28, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented May 28, 2020

@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #24546 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #24546   +/-   ##
=======================================
  Coverage   99.14%   99.14%           
=======================================
  Files         363      363           
  Lines        7364     7364           
  Branches     2059     2060    +1     
=======================================
  Hits         7301     7301           
  Misses         63       63           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7c77a76...3fabc28. Read the comment docs.

@afc163 afc163 merged commit 9b8e0bb into ant-design:master May 28, 2020
@zombieJ zombieJ mentioned this pull request May 31, 2020
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Component Upload]Make 'data' param can return a promise
3 participants