mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 13:08:23 +08:00
1c90ee0333
* 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>
30 lines
694 B
C#
30 lines
694 B
C#
using System.Text.Json;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class UploadFileItem
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
public string FileName { get; set; }
|
|
|
|
public int Progress { get; set; }
|
|
|
|
public string ObjectURL { get; set; }
|
|
|
|
public string Url { get; set; }
|
|
|
|
public string Response { get; set; }
|
|
|
|
public UploadState State { get; set; }
|
|
|
|
public long Size { get; set; }
|
|
|
|
public string Ext { get; set; }
|
|
|
|
public string Type { get; set; }
|
|
|
|
public ResponseModel GetResponse<ResponseModel>(JsonSerializerOptions options = null) => JsonSerializer.Deserialize<ResponseModel>(this.Response, options);
|
|
}
|
|
}
|