Browse Source

Make action of Upload optional, close #6890

pull/6916/head
afc163 7 years ago
parent
commit
98faa4378c
  1. 2
      components/upload/interface.tsx

2
components/upload/interface.tsx

@ -43,7 +43,7 @@ export interface UploadProps {
name?: string;
defaultFileList?: Array<File>;
fileList?: Array<File>;
action: string;
action?: string;
data?: Object | ((file: File) => any);
headers?: HttpRequestHeader;
showUploadList?: boolean | ShowUploadListInterface;

Loading…
Cancel
Save