mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
feat(Uploader): support failed status (#5624)
This commit is contained in:
@@ -41,6 +41,8 @@ export type FileListItem = {
|
||||
file?: File;
|
||||
content?: string; // dataUrl
|
||||
isImage?: boolean;
|
||||
status?: '' | 'uploading' | 'done' | 'failed';
|
||||
message?: string;
|
||||
};
|
||||
|
||||
const IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
|
||||
|
Reference in New Issue
Block a user