Commit 5a2a3915 authored by XieZhiXiong's avatar XieZhiXiong

chore: 补充类型

parent c97053c9
......@@ -430,6 +430,8 @@ export interface FileData {
name: string;
status: 'uploading' | 'done' | 'error' | 'removed';
url: string;
size: number,
type: string,
};
/**
......@@ -447,6 +449,8 @@ export function normalizeFiledata(url: any): any {
uid: Math.random().toFixed(16).slice(2, 10),
name: fileName,
status: 'done',
size: 0,
type: '',
url,
};
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment