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: add upload component #276

Merged
merged 13 commits into from
Jun 30, 2020
Merged

feat: add upload component #276

merged 13 commits into from
Jun 30, 2020

Conversation

adsioj
Copy link
Contributor

@adsioj adsioj commented Jun 29, 2020

可自定义FileList

  1. bool BeforeUpload(FileUploadItem file)
    -- 回调函数中可以进行上传前的验证. return false则终止该文件上传
  2. OnSingleCompleted(FileUploadItem file)
    -- 单个文件完成时的回调, 不论成功失败 参数为 FileUploadItem
  3. OnCompleted(List fileList)
    -- FileList中所有文件均已完成后进行回调, 参数为 List

@ElderJames ElderJames changed the title 经典模式的文件上传 feat: add upload component Jun 29, 2020
@ElderJames ElderJames merged commit 27ed22d into ant-design-blazor:master Jun 30, 2020
@ElderJames ElderJames mentioned this pull request Jun 30, 2020
66 tasks
zxyao145 pushed a commit to 1002527441/ant-design-blazor that referenced this pull request Jul 9, 2020
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
Zhuangkh pushed a commit to Zhuangkh/ant-design-blazor that referenced this pull request Sep 25, 2020
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
ElderJames added a commit that referenced this pull request Oct 15, 2020
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
ElderJames added a commit that referenced this pull request Apr 23, 2022
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
ElderJames added a commit that referenced this pull request Apr 30, 2022
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants