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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix type of action and RcFile #16851

Merged
merged 2 commits into from Jun 2, 2019
Merged

fix: fix type of action and RcFile #16851

merged 2 commits into from Jun 2, 2019

Conversation

@DiamondYuan
Copy link
Contributor

@DiamondYuan DiamondYuan commented May 29, 2019

馃 This is a ...

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

馃懟 What's the background?

馃挕 Solution

馃摑 Changelog

Language Changelog
馃嚭馃嚫 English
馃嚚馃嚦 Chinese

鈽戯笍 Self Check before Merge

  • 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
@DiamondYuan
Copy link
Contributor Author

@DiamondYuan DiamondYuan commented May 29, 2019

see #16850

@netlify
Copy link

@netlify netlify bot commented May 29, 2019

Deploy preview for ant-design ready!

Built with commit 81da6e9

https://deploy-preview-16851--ant-design.netlify.com

@codecov
Copy link

@codecov codecov bot commented May 29, 2019

Codecov Report

Merging #16851 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16851      +/-   ##
==========================================
- Coverage      96%   95.96%   -0.05%     
==========================================
  Files         263      263              
  Lines        7329     7329              
  Branches     2035     2046      +11     
==========================================
- Hits         7036     7033       -3     
- Misses        291      294       +3     
  Partials        2        2
Impacted Files Coverage 螖
components/_util/wave.tsx 85.84% <0%> (-2.84%) 猬囷笍

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 81da6e9...c7bc6b7. Read the comment docs.

@DiamondYuan DiamondYuan requested a review from afc163 May 29, 2019
@DiamondYuan DiamondYuan changed the title fix: UploadFile should extends File [wip] fix: UploadFile should extends File May 29, 2019
@DiamondYuan DiamondYuan changed the title [wip] fix: UploadFile should extends File fix: UploadFile should extends File May 29, 2019
@zombieJ
Copy link
Member

@zombieJ zombieJ commented May 29, 2019

UploadFile 绫讳技 File 浣嗘槸涓嶆槸缁ф壙鍏崇郴锛岄氳繃 fileList or defaultFileList 璁剧疆鐨 file 涓嶄竴瀹氭槸鐪熺殑 File 瀵硅薄銆

@DiamondYuan
Copy link
Contributor Author

@DiamondYuan DiamondYuan commented May 29, 2019

UploadFile 绫讳技 File 浣嗘槸涓嶆槸缁ф壙鍏崇郴锛岄氳繃 fileList or defaultFileList 璁剧疆鐨 file 涓嶄竴瀹氭槸鐪熺殑 File 瀵硅薄銆

涔熷氨鏄鏈変袱绉嶇被鍨嬶紵涓绉嶆槸 extends file鐨勶紝鍦 action 绛夊湴鏂圭敤鍒般
涓绉嶆槸 UploadFile 锛屽湪 render file list鐨勬椂鍊欑敤鍒帮紵

@DiamondYuan
Copy link
Contributor Author

@DiamondYuan DiamondYuan commented May 29, 2019

鐪嬩簡涓涓 action 鎺ュ彈鐨勫弬鏁板ソ鍍忎笉鏄 UploadFile

@DiamondYuan DiamondYuan changed the title fix: UploadFile should extends File [wip] fix: UploadFile should extends File May 29, 2019
@DiamondYuan DiamondYuan force-pushed the fix/uploadFile-type-again branch from dee548e to 81da6e9 May 29, 2019
@afc163 afc163 deleted the fix/uploadFile-type-again branch May 29, 2019
@DiamondYuan DiamondYuan changed the title [wip] fix: UploadFile should extends File fix: UploadFile should extends File May 29, 2019
@DiamondYuan DiamondYuan requested a review from zombieJ May 29, 2019
@DiamondYuan DiamondYuan reopened this May 29, 2019
@DiamondYuan DiamondYuan changed the title fix: UploadFile should extends File fix: fix type of action and RcFile May 29, 2019
@afc163 afc163 merged commit 18d3dee into master Jun 2, 2019
25 checks passed
readonly lastModified: number;
readonly lastModifiedDate: Date;
readonly size: number;
readonly webkitRelativePath: string;
Copy link
Contributor

@ztplz ztplz Jun 2, 2019

鍙湁webkitRelativePath 鏄渶瑕佸姞鐨 閲嶅瀹氫箟浜 鍍name, type, lastModified, size閮芥槸 File 閲屾湰韬氨鏈夌殑

@pr-triage pr-triage bot removed the PR: merged label Jun 2, 2019
@ikobe-zz ikobe-zz mentioned this pull request Jun 6, 2019
10 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
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants